Class: Files::AgentProxyIdentityResult
- Inherits:
-
Object
- Object
- Files::AgentProxyIdentityResult
- Defined in:
- lib/files.com/models/agent_proxy_identity_result.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#identities ⇒ Object
array(object) - Ordered identity candidates for this IP during rotation.
-
#initialize(attributes = {}, options = {}) ⇒ AgentProxyIdentityResult
constructor
A new instance of AgentProxyIdentityResult.
-
#ip ⇒ Object
string - Requested public IPv4 address.
-
#status ⇒ Object
string - Lookup status for the requested IP.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ AgentProxyIdentityResult
Returns a new instance of AgentProxyIdentityResult.
7 8 9 10 |
# File 'lib/files.com/models/agent_proxy_identity_result.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/agent_proxy_identity_result.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/agent_proxy_identity_result.rb', line 5 def @options end |
Instance Method Details
#identities ⇒ Object
array(object) - Ordered identity candidates for this IP during rotation.
23 24 25 |
# File 'lib/files.com/models/agent_proxy_identity_result.rb', line 23 def identities @attributes[:identities] end |
#ip ⇒ Object
string - Requested public IPv4 address.
13 14 15 |
# File 'lib/files.com/models/agent_proxy_identity_result.rb', line 13 def ip @attributes[:ip] end |
#status ⇒ Object
string - Lookup status for the requested IP.
18 19 20 |
# File 'lib/files.com/models/agent_proxy_identity_result.rb', line 18 def status @attributes[:status] end |