Class: Sidemash::Sdk::Client
- Inherits:
-
Object
- Object
- Sidemash::Sdk::Client
- Defined in:
- lib/sidemash/sdk/client.rb
Instance Method Summary collapse
-
#initialize(auth) ⇒ Client
constructor
A new instance of Client.
- #stream_square ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(auth) ⇒ Client
Returns a new instance of Client.
22 23 24 25 26 |
# File 'lib/sidemash/sdk/client.rb', line 22 def initialize(auth) @_type = 'Client' @auth = auth @_stream_square = StreamSquareService.new(auth) end |
Instance Method Details
#stream_square ⇒ Object
28 29 30 |
# File 'lib/sidemash/sdk/client.rb', line 28 def stream_square @_stream_square end |
#to_s ⇒ Object
32 33 34 |
# File 'lib/sidemash/sdk/client.rb', line 32 def to_s 'Client(auth=' + @auth.to_s + ')' end |