Class: Sirius::Client::InternalClient

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host = 'localhost', port = '21212') ⇒ InternalClient

Returns a new instance of InternalClient.



7
8
9
# File 'lib/sirius/internal.rb', line 7

def initialize(host = 'localhost', port = '21212')
  @internal = Internal::Internal.new("http://#{host}:#{port}/internal")
end

Instance Attribute Details

#internalObject

Returns the value of attribute internal.



6
7
8
# File 'lib/sirius/internal.rb', line 6

def internal
  @internal
end