Class: Arweave::Client::Configuration
- Inherits:
-
Object
- Object
- Arweave::Client::Configuration
- Defined in:
- lib/arweave/client.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
-
#scheme ⇒ Object
Returns the value of attribute scheme.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#host ⇒ Object
Returns the value of attribute host.
17 18 19 |
# File 'lib/arweave/client.rb', line 17 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
17 18 19 |
# File 'lib/arweave/client.rb', line 17 def port @port end |
#scheme ⇒ Object
Returns the value of attribute scheme.
17 18 19 |
# File 'lib/arweave/client.rb', line 17 def scheme @scheme end |