Class: MoneroRPC::Config
- Inherits:
-
Object
- Object
- MoneroRPC::Config
- Includes:
- Singleton
- Defined in:
- lib/monero_rpc/config.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#host ⇒ Object
Returns the value of attribute host.
-
#in_transfer_clazz ⇒ Object
Returns the value of attribute in_transfer_clazz.
-
#out_transfer_clazz ⇒ Object
Returns the value of attribute out_transfer_clazz.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 |
# File 'lib/monero_rpc/config.rb', line 7 def initialize self.in_transfer_clazz = "MoneroRPC::IncomingTransfer" self.out_transfer_clazz = "MoneroRPC::OutgoingTransfer" end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def debug @debug end |
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def host @host end |
#in_transfer_clazz ⇒ Object
Returns the value of attribute in_transfer_clazz.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def in_transfer_clazz @in_transfer_clazz end |
#out_transfer_clazz ⇒ Object
Returns the value of attribute out_transfer_clazz.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def out_transfer_clazz @out_transfer_clazz end |
#password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def port @port end |
#username ⇒ Object
Returns the value of attribute username.
5 6 7 |
# File 'lib/monero_rpc/config.rb', line 5 def username @username end |