Class: TransparentData::Actions::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/transparent_data/actions/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, ident) ⇒ Result

Returns a new instance of Result.



6
7
8
9
# File 'lib/transparent_data/actions/result.rb', line 6

def initialize(client, ident)
  @client = client
  @ident = ident
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



4
5
6
# File 'lib/transparent_data/actions/result.rb', line 4

def client
  @client
end

#identObject (readonly)

Returns the value of attribute ident.



4
5
6
# File 'lib/transparent_data/actions/result.rb', line 4

def ident
  @ident
end

Instance Method Details

#callObject



11
12
13
# File 'lib/transparent_data/actions/result.rb', line 11

def call
  TransparentData::Request.call(client, 'result', query: build_query(ident))
end