Module: OnSIP::Model
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
4 5 6 |
# File 'lib/onsip/model.rb', line 4 def attributes @attributes end |
#session ⇒ Object
Returns the value of attribute session.
4 5 6 |
# File 'lib/onsip/model.rb', line 4 def session @session end |
Instance Method Details
#initialize(attributes = {}) ⇒ Object
6 7 8 |
# File 'lib/onsip/model.rb', line 6 def initialize(attributes = {}) @attributes = Hashie::Mash.new attributes end |