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
19
20
21
|
# File 'lib/moysklad/entities/attribute.rb', line 19
def is_dictionary?
type == 'customentity'
end
|
#to_s ⇒ Object
15
16
17
|
# File 'lib/moysklad/entities/attribute.rb', line 15
def to_s
"#{name} (#{type}): #{value}"
end
|