Class: Moysklad::Entities::Attribute
- Inherits:
-
Base
- Object
- Base
- Moysklad::Entities::Attribute
show all
- Defined in:
- lib/moysklad/entities/attribute.rb
Instance Attribute Summary
Attributes inherited from Base
#dump, #universe
Instance Method Summary
collapse
Methods inherited from Base
build, #initialize, #to_json
Instance Method Details
#is_dictionary? ⇒ Boolean
16
17
18
|
# File 'lib/moysklad/entities/attribute.rb', line 16
def is_dictionary?
type == 'customentity'
end
|
#to_s ⇒ Object
12
13
14
|
# File 'lib/moysklad/entities/attribute.rb', line 12
def to_s
"#{name} (#{type}): #{value}"
end
|