Class: Fortnox::Unit

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

Constant Summary

Constants included from Types

Types::AccountNumber, Types::AccountingMethods, Types::ArticleTypes, Types::CURRENT_HOUSEWORK_TYPES, Types::Currencies, Types::CustomerTypes, Types::DefaultDeliveryTypeValues, Types::DeliveryStates, Types::DiscountTypes, Types::Email, Types::HouseworkTypes, Types::InvoiceTypes, Types::LEGACY_HOUSEWORK_TYPES, Types::PaymentWays, Types::ProjectStatusTypes, Types::THE_TRUTH, Types::TaxReductionTypes, Types::VATTypes

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

find, find_all_by, find_one_by, only, parse, save, search, stub

Instance Attribute Details

#code_englishObject (readonly)

CodeEnglish English code of the unit



23
24
25
# File 'lib/fortnox/resources/unit.rb', line 23

def code_english
  @code_english
end

#descriptionObject (readonly)

Description The description of the unit.



20
21
22
# File 'lib/fortnox/resources/unit.rb', line 20

def description
  @description
end