Class: NWitchGRPCClient::Configuration
- Inherits:
-
Object
- Object
- NWitchGRPCClient::Configuration
- Defined in:
- lib/nwitch_grpc_client/configuration.rb
Instance Attribute Summary collapse
-
#grpc_host ⇒ Object
Returns the value of attribute grpc_host.
-
#nwitch_token ⇒ Object
Returns the value of attribute nwitch_token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/nwitch_grpc_client/configuration.rb', line 5 def initialize @grpc_host = 'localhost:50051' @nwitch_token = '' end |
Instance Attribute Details
#grpc_host ⇒ Object
Returns the value of attribute grpc_host.
3 4 5 |
# File 'lib/nwitch_grpc_client/configuration.rb', line 3 def grpc_host @grpc_host end |
#nwitch_token ⇒ Object
Returns the value of attribute nwitch_token.
3 4 5 |
# File 'lib/nwitch_grpc_client/configuration.rb', line 3 def nwitch_token @nwitch_token end |