Class: Sidemash::Sdk::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/sidemash/sdk/client.rb

Instance Method Summary collapse

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_squareObject



28
29
30
# File 'lib/sidemash/sdk/client.rb', line 28

def stream_square
  @_stream_square
end

#to_sObject



32
33
34
# File 'lib/sidemash/sdk/client.rb', line 32

def to_s
  'Client(auth=' + @auth.to_s + ')'
end