Class: IOTA::Client
- Inherits:
-
Object
- Object
- IOTA::Client
- Defined in:
- lib/iota.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
-
#batch_size ⇒ Object
readonly
Returns the value of attribute batch_size.
-
#broker ⇒ Object
readonly
Returns the value of attribute broker.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#multisig ⇒ Object
readonly
Returns the value of attribute multisig.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#sandbox ⇒ Object
readonly
Returns the value of attribute sandbox.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#utils ⇒ Object
readonly
Returns the value of attribute utils.
-
#validator ⇒ Object
readonly
Returns the value of attribute validator.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
- #changeNode(settings = {}) ⇒ Object
-
#initialize(settings = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
37 38 39 |
# File 'lib/iota.rb', line 37 def api @api end |
#batch_size ⇒ Object (readonly)
Returns the value of attribute batch_size.
37 38 39 |
# File 'lib/iota.rb', line 37 def batch_size @batch_size end |
#broker ⇒ Object (readonly)
Returns the value of attribute broker.
37 38 39 |
# File 'lib/iota.rb', line 37 def broker @broker end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
37 38 39 |
# File 'lib/iota.rb', line 37 def host @host end |
#multisig ⇒ Object (readonly)
Returns the value of attribute multisig.
37 38 39 |
# File 'lib/iota.rb', line 37 def multisig @multisig end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
37 38 39 |
# File 'lib/iota.rb', line 37 def port @port end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
37 38 39 |
# File 'lib/iota.rb', line 37 def provider @provider end |
#sandbox ⇒ Object (readonly)
Returns the value of attribute sandbox.
37 38 39 |
# File 'lib/iota.rb', line 37 def sandbox @sandbox end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
37 38 39 |
# File 'lib/iota.rb', line 37 def token @token end |
#utils ⇒ Object (readonly)
Returns the value of attribute utils.
37 38 39 |
# File 'lib/iota.rb', line 37 def utils @utils end |
#validator ⇒ Object (readonly)
Returns the value of attribute validator.
37 38 39 |
# File 'lib/iota.rb', line 37 def validator @validator end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
37 38 39 |
# File 'lib/iota.rb', line 37 def version @version end |
Instance Method Details
#changeNode(settings = {}) ⇒ Object
46 47 48 49 |
# File 'lib/iota.rb', line 46 def changeNode(settings = {}) setSettings(settings) self end |