Class: Sirius::Client::InternalClient
- Inherits:
-
Object
- Object
- Sirius::Client::InternalClient
- Defined in:
- lib/sirius/internal.rb
Instance Attribute Summary collapse
-
#internal ⇒ Object
Returns the value of attribute internal.
Instance Method Summary collapse
-
#initialize(host = 'localhost', port = '21212') ⇒ InternalClient
constructor
A new instance of InternalClient.
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
#internal ⇒ Object
Returns the value of attribute internal.
6 7 8 |
# File 'lib/sirius/internal.rb', line 6 def internal @internal end |