Module: Steem::JSONable::ClassMethods

Defined in:
lib/steem/mixins/jsonable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



4
5
6
# File 'lib/steem/mixins/jsonable.rb', line 4

def attributes
  @attributes
end

Instance Method Details

#attr_accessor(*attrs) ⇒ Object



6
7
8
9
10
# File 'lib/steem/mixins/jsonable.rb', line 6

def attr_accessor *attrs
  self.attributes = Array attrs
  
  super
end