class SitraQuery
Public Class Methods
new(api_key, site_identifier, criteria = {})
click to toggle source
# File lib/sitra_client/sitra_query.rb, line 8 def initialize(api_key, site_identifier, criteria = {}) @apiKey = api_key @projetId = site_identifier self.attributes = criteria end
Public Instance Methods
to_params()
click to toggle source
# File lib/sitra_client/sitra_query.rb, line 14 def to_params JSON.generate attributes end