Class: Nephophobia::Response::Member
- Inherits:
-
Object
- Object
- Nephophobia::Response::Member
- Defined in:
- lib/nephophobia/response/member.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#member ⇒ Object
readonly
Returns the value of attribute member.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Member
constructor
A new instance of Member.
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
#attributes ⇒ Object
Returns the value of attribute attributes.
6 7 8 |
# File 'lib/nephophobia/response/member.rb', line 6 def attributes @attributes end |
#member ⇒ Object (readonly)
Returns the value of attribute member.
4 5 6 |
# File 'lib/nephophobia/response/member.rb', line 4 def member @member end |