Class: TransparentData::Actions::Result
- Inherits:
-
Object
- Object
- TransparentData::Actions::Result
- Defined in:
- lib/transparent_data/actions/result.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#ident ⇒ Object
readonly
Returns the value of attribute ident.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(client, ident) ⇒ Result
constructor
A new instance of Result.
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
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'lib/transparent_data/actions/result.rb', line 4 def client @client end |
#ident ⇒ Object (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
#call ⇒ Object
11 12 13 |
# File 'lib/transparent_data/actions/result.rb', line 11 def call TransparentData::Request.call(client, 'result', query: build_query(ident)) end |