Class: Quickbooks::Types::ENUMTYPE

Inherits:
Quickbooks::Type show all
Defined in:
lib/quickbooks/types.rb

Instance Attribute Summary

Attributes inherited from Quickbooks::Type

#value

Class Method Summary collapse

Methods inherited from Quickbooks::Type

#dirty?, #eql?, #initialize, #inspect, native, #nil?, #to_s, #to_xml, #valid?

Constructor Details

This class inherits a constructor from Quickbooks::Type

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Quickbooks::Type

Class Method Details

.enum(in_klass, *args) ⇒ Object



24
25
26
27
# File 'lib/quickbooks/types.rb', line 24

def enum(in_klass,*args)
  @enum ||= {}
  @enum[in_klass] = args
end