Class: TwicasStream::TwicasApiObject::App
- Inherits:
-
Object
- Object
- TwicasStream::TwicasApiObject::App
- Defined in:
- lib/twicas_stream/twicas_api_object/app.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(elements = {}) ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(elements = {}) ⇒ App
Returns a new instance of App.
9 10 11 12 13 14 15 |
# File 'lib/twicas_stream/twicas_api_object/app.rb', line 9 def initialize elements = {} @object = { :client_id => elements['client_id'], :name => elements['name'], :owner_user_id => elements['owner_user_id'] } end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
7 8 9 |
# File 'lib/twicas_stream/twicas_api_object/app.rb', line 7 def object @object end |