Class: Fortnox::TermsOfPayment

Inherits:
Resource
  • Object
show all
Defined in:
lib/fortnox/resources/terms_of_payment.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build_objects, create, #endpoint, endpoint, fetch, #initialize, perform_request, relation, relations, search, #to_hash, #to_json, #update

Constructor Details

This class inherits a constructor from Fortnox::Resource

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/fortnox/resources/terms_of_payment.rb', line 3

def code
  @code
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/fortnox/resources/terms_of_payment.rb', line 3

def description
  @description
end