Class: Agris::Api::Grain::SpecificContractExtract
- Inherits:
-
Object
- Object
- Agris::Api::Grain::SpecificContractExtract
- Includes:
- XmlModel
- Defined in:
- lib/agris/api/grain/specific_contract_extract.rb
Instance Attribute Summary collapse
-
#contract_location ⇒ Object
Returns the value of attribute contract_location.
-
#contract_number ⇒ Object
Returns the value of attribute contract_number.
Instance Method Summary collapse
-
#initialize(contract_location, contract_number) ⇒ SpecificContractExtract
constructor
A new instance of SpecificContractExtract.
Methods included from XmlModel
Constructor Details
#initialize(contract_location, contract_number) ⇒ SpecificContractExtract
Returns a new instance of SpecificContractExtract.
10 11 12 13 |
# File 'lib/agris/api/grain/specific_contract_extract.rb', line 10 def initialize(contract_location, contract_number) @contract_location = contract_location @contract_number = contract_number end |
Instance Attribute Details
#contract_location ⇒ Object
Returns the value of attribute contract_location.
8 9 10 |
# File 'lib/agris/api/grain/specific_contract_extract.rb', line 8 def contract_location @contract_location end |
#contract_number ⇒ Object
Returns the value of attribute contract_number.
8 9 10 |
# File 'lib/agris/api/grain/specific_contract_extract.rb', line 8 def contract_number @contract_number end |