Class: Gliffy::UserParser

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



232
233
234
235
236
# File 'lib/gliffy/response.rb', line 232

def self.from_http_response(root)
  add_int(root,'id','user_id')
  add_boolean(root,'is_admin')
  super(root)
end