Class: DogecoinClient::Configuration
- Inherits:
-
Object
- Object
- DogecoinClient::Configuration
- Defined in:
- lib/dogecoin_client.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 29 30 31 32 |
# File 'lib/dogecoin_client.rb', line 26 def initialize self.host = 'localhost' self.port = 22555 self.protocol = :http self.user = '' self.password = '' end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
24 25 26 |
# File 'lib/dogecoin_client.rb', line 24 def host @host end |
#password ⇒ Object
Returns the value of attribute password.
24 25 26 |
# File 'lib/dogecoin_client.rb', line 24 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
24 25 26 |
# File 'lib/dogecoin_client.rb', line 24 def port @port end |
#protocol ⇒ Object
Returns the value of attribute protocol.
24 25 26 |
# File 'lib/dogecoin_client.rb', line 24 def protocol @protocol end |
#user ⇒ Object
Returns the value of attribute user.
24 25 26 |
# File 'lib/dogecoin_client.rb', line 24 def user @user end |