Class: Ravelin::Device
- Inherits:
-
RavelinObject
- Object
- RavelinObject
- Ravelin::Device
- Defined in:
- lib/ravelin/device.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
Returns the value of attribute browser.
-
#cookies_enabled ⇒ Object
Returns the value of attribute cookies_enabled.
-
#device_id ⇒ Object
Returns the value of attribute device_id.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#javascript_enabled ⇒ Object
Returns the value of attribute javascript_enabled.
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#model ⇒ Object
Returns the value of attribute model.
-
#os ⇒ Object
Returns the value of attribute os.
-
#screen_resolution ⇒ Object
Returns the value of attribute screen_resolution.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Method Summary
Methods inherited from RavelinObject
attr_accessor, attr_required, #initialize, required_attributes, #serializable_hash, #validate
Constructor Details
This class inherits a constructor from Ravelin::RavelinObject
Instance Attribute Details
#browser ⇒ Object
Returns the value of attribute browser.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def browser @browser end |
#cookies_enabled ⇒ Object
Returns the value of attribute cookies_enabled.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def end |
#device_id ⇒ Object
Returns the value of attribute device_id.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def device_id @device_id end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def ip_address @ip_address end |
#javascript_enabled ⇒ Object
Returns the value of attribute javascript_enabled.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def javascript_enabled @javascript_enabled end |
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def manufacturer @manufacturer end |
#model ⇒ Object
Returns the value of attribute model.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def model @model end |
#os ⇒ Object
Returns the value of attribute os.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def os @os end |
#screen_resolution ⇒ Object
Returns the value of attribute screen_resolution.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def screen_resolution @screen_resolution end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def type @type end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
3 4 5 |
# File 'lib/ravelin/device.rb', line 3 def user_agent @user_agent end |