class TransparentData::Actions::Result

Attributes

client[R]
ident[R]

Public Class Methods

new(client, ident) click to toggle source
# File lib/transparent_data/actions/result.rb, line 6
def initialize(client, ident)
  @client = client
  @ident = ident
end

Public Instance Methods

call() click to toggle source
# File lib/transparent_data/actions/result.rb, line 11
def call
  TransparentData::Request.call(client, 'result', query: build_query(ident))
end

Private Instance Methods

build_query() click to toggle source
# File lib/transparent_data/actions/result.rb, line 17
def build_query
  { ident: ident }
end