Module: Trello::JsonUtils::InstanceMethods

Defined in:
lib/trello/json_utils.rb

Instance Method Summary collapse

Instance Method Details

#from_response(*args) ⇒ Object



9
10
11
# File 'lib/trello/json_utils.rb', line 9

def from_response(*args)
  update_fields parse_json(*args)
end

#parse_json(*args) ⇒ Object



13
14
15
# File 'lib/trello/json_utils.rb', line 13

def parse_json(*args)
  self.class.parse_json(*args)
end