Class: DogecoinClient::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#hostObject

Returns the value of attribute host.



24
25
26
# File 'lib/dogecoin_client.rb', line 24

def host
  @host
end

#passwordObject

Returns the value of attribute password.



24
25
26
# File 'lib/dogecoin_client.rb', line 24

def password
  @password
end

#portObject

Returns the value of attribute port.



24
25
26
# File 'lib/dogecoin_client.rb', line 24

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



24
25
26
# File 'lib/dogecoin_client.rb', line 24

def protocol
  @protocol
end

#userObject

Returns the value of attribute user.



24
25
26
# File 'lib/dogecoin_client.rb', line 24

def user
  @user
end