Class: Eligible::CalculatorDeployUrl

Inherits:
APIResource show all
Defined in:
lib/eligible/calculator_deploy_url.rb

Instance Attribute Summary

Attributes inherited from EligibleObject

#api_key, #eligible_id

Class Method Summary collapse

Methods inherited from APIResource

api_url, class_name, require_param, send_request, url

Methods inherited from EligibleObject

#[], #[]=, construct_from, #each, #error, #initialize, #keys, #refresh_from, #to_hash, #to_json, #values

Constructor Details

This class inherits a constructor from Eligible::EligibleObject

Class Method Details

.fetch_or_create(params, api_key = nil) ⇒ Object



3
4
5
# File 'lib/eligible/calculator_deploy_url.rb', line 3

def self.fetch_or_create(params, api_key = nil)
  send_request(:get, '/calculator_deploy_urls.json', api_key, **params)
end