Class: Gliffy::VersionParser

Inherits:
BaseParser show all
Defined in:
lib/gliffy/response.rb

Overview

:nodoc:

Class Method Summary collapse

Methods inherited from BaseParser

add_boolean, add_date, add_int, as_array

Class Method Details

.from_http_response(root) ⇒ Object



280
281
282
283
284
285
286
# File 'lib/gliffy/response.rb', line 280

def self.from_http_response(root)
  add_int(root,'id','version_id')
  add_int(root,'num')
  add_date(root,'create_date')
  root['owner'] = UserParser.from_http_response(root['owner'])
  super(root)
end