Class: Files::AgentProxyIdentityEndpoint
- Inherits:
-
Object
- Object
- Files::AgentProxyIdentityEndpoint
- Defined in:
- lib/files.com/models/agent_proxy_identity_endpoint.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
-
#initialize(attributes = {}, options = {}) ⇒ AgentProxyIdentityEndpoint
constructor
A new instance of AgentProxyIdentityEndpoint.
-
#multiaddr ⇒ Object
string - Canonical libp2p multiaddr for this proxy identity endpoint.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ AgentProxyIdentityEndpoint
Returns a new instance of AgentProxyIdentityEndpoint.
7 8 9 10 |
# File 'lib/files.com/models/agent_proxy_identity_endpoint.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_endpoint.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_endpoint.rb', line 5 def @options end |
Instance Method Details
#multiaddr ⇒ Object
string - Canonical libp2p multiaddr for this proxy identity endpoint.
13 14 15 |
# File 'lib/files.com/models/agent_proxy_identity_endpoint.rb', line 13 def multiaddr @attributes[:multiaddr] end |