Class: Arweave::Client::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/arweave/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



19
20
21
22
23
# File 'lib/arweave/client.rb', line 19

def initialize
  @scheme = 'https'
  @port = '443'
  @host = 'arweave.net'
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



17
18
19
# File 'lib/arweave/client.rb', line 17

def host
  @host
end

#portObject

Returns the value of attribute port.



17
18
19
# File 'lib/arweave/client.rb', line 17

def port
  @port
end

#schemeObject

Returns the value of attribute scheme.



17
18
19
# File 'lib/arweave/client.rb', line 17

def scheme
  @scheme
end