Class: Nephophobia::Response::Member

Inherits:
Object
  • Object
show all
Defined in:
lib/nephophobia/response/member.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ Member

Returns a new instance of Member.



8
9
10
11
12
# File 'lib/nephophobia/response/member.rb', line 8

def initialize attributes
  @attributes = attributes

  @member = attributes['member']
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



6
7
8
# File 'lib/nephophobia/response/member.rb', line 6

def attributes
  @attributes
end

#memberObject (readonly)

Returns the value of attribute member.



4
5
6
# File 'lib/nephophobia/response/member.rb', line 4

def member
  @member
end