Class: Files::AgentProxyIdentityEndpoint

Inherits:
Object
  • Object
show all
Defined in:
lib/files.com/models/agent_proxy_identity_endpoint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = {}, options = {})
  @attributes = attributes || {}
  @options = options || {}
end

Instance Attribute Details

#attributesObject (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

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/files.com/models/agent_proxy_identity_endpoint.rb', line 5

def options
  @options
end

Instance Method Details

#multiaddrObject

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