Class: NWitchGRPCClient::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_hostObject

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_tokenObject

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