Class: ODDB::State::Drugs::PriceHistory::PriceChange

Inherits:
Object
  • Object
show all
Defined in:
src/state/drugs/price_history.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (PriceChange) initialize(date)

A new instance of PriceChange



15
16
17
# File 'src/state/drugs/price_history.rb', line 15

def initialize date
  @valid_from = date
end

Instance Attribute Details

- (Object) exfactory

Returns the value of attribute exfactory



14
15
16
# File 'src/state/drugs/price_history.rb', line 14

def exfactory
  @exfactory
end

- (Object) percent_exfactory

Returns the value of attribute percent_exfactory



14
15
16
# File 'src/state/drugs/price_history.rb', line 14

def percent_exfactory
  @percent_exfactory
end

- (Object) percent_public

Returns the value of attribute percent_public



14
15
16
# File 'src/state/drugs/price_history.rb', line 14

def percent_public
  @percent_public
end

- (Object) public

Returns the value of attribute public



14
15
16
# File 'src/state/drugs/price_history.rb', line 14

def public
  @public
end

- (Object) valid_from (readonly)

Returns the value of attribute valid_from



13
14
15
# File 'src/state/drugs/price_history.rb', line 13

def valid_from
  @valid_from
end