Method: Insightly2::Resources::Object::Attributes::ClassMethods#attributes
- Defined in:
- lib/insightly2/resources/object/attributes.rb
#attributes ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/insightly2/resources/object/attributes.rb', line 3 def attributes @attributes ||= begin if superclass.respond_to?(:attributes) superclass.attributes.dup else Hash.new { |hash, key| hash[key] = ::Object } end end end |