module OmnivoreIO::OmnivoreObject::ClassMethods

Attributes

_json_attributes[RW]

Public Instance Methods

json_attr_accessor(*attributes) click to toggle source
# File lib/omnivore-io/api.rb, line 23
def json_attr_accessor(*attributes)
  self._json_attributes = attributes
  attributes.each do |attribute|
    attr_accessor attribute
  end
end