Class: MoreappAPI::Registration
- Inherits:
-
Object
- Object
- MoreappAPI::Registration
- Defined in:
- lib/moreapp_api/registration.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#raw_data ⇒ Object
Returns the value of attribute raw_data.
Instance Method Summary collapse
-
#initialize(moreapp_api, data) ⇒ Registration
constructor
A new instance of Registration.
Constructor Details
#initialize(moreapp_api, data) ⇒ Registration
Returns a new instance of Registration.
6 7 8 9 10 11 |
# File 'lib/moreapp_api/registration.rb', line 6 def initialize(moreapp_api, data) @moreapp_api = moreapp_api # @id = long_id[0..31] # @form_data = @raw_data = data end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/moreapp_api/registration.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/moreapp_api/registration.rb', line 4 def name @name end |
#raw_data ⇒ Object
Returns the value of attribute raw_data.
4 5 6 |
# File 'lib/moreapp_api/registration.rb', line 4 def raw_data @raw_data end |