Class: Ravelin::Device

Inherits:
RavelinObject show all
Defined in:
lib/ravelin/device.rb

Instance Attribute Summary collapse

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

#browserObject

Returns the value of attribute browser.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def browser
  @browser
end

#cookies_enabledObject

Returns the value of attribute cookies_enabled.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def cookies_enabled
  @cookies_enabled
end

#device_idObject

Returns the value of attribute device_id.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def device_id
  @device_id
end

#ip_addressObject

Returns the value of attribute ip_address.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def ip_address
  @ip_address
end

#javascript_enabledObject

Returns the value of attribute javascript_enabled.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def javascript_enabled
  @javascript_enabled
end

#manufacturerObject

Returns the value of attribute manufacturer.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def manufacturer
  @manufacturer
end

#modelObject

Returns the value of attribute model.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def model
  @model
end

#osObject

Returns the value of attribute os.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def os
  @os
end

#screen_resolutionObject

Returns the value of attribute screen_resolution.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def screen_resolution
  @screen_resolution
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def type
  @type
end

#user_agentObject

Returns the value of attribute user_agent.



3
4
5
# File 'lib/ravelin/device.rb', line 3

def user_agent
  @user_agent
end