Class: Clearbit::Risk

Inherits:
Base show all
Defined in:
lib/clearbit/risk.rb

Constant Summary

Constants inherited from Resource

Clearbit::Resource::OPTION_KEYS

Class Method Summary collapse

Methods inherited from Base

key, key=, #pending?, version=

Methods inherited from Resource

delete, endpoint, get, options, parse_values, path, post, put, request, uri, #uri, url

Methods inherited from Mash

#custom_reader, #custom_writer, #deep_merge, #deep_update, #delete, #dup, #fetch, #id, #initialize, #initializing_reader, #key?, #method_missing, new, #regular_dup, #replace, #respond_to?, #shallow_merge, #shallow_update, #type, #underbang_reader

Constructor Details

This class inherits a constructor from Clearbit::Mash

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Clearbit::Mash

Class Method Details

.calculate(values = {}) ⇒ Object



6
7
8
# File 'lib/clearbit/risk.rb', line 6

def self.calculate(values = {})
  self.new post('calculate', values)
end

.confirmed(values = {}) ⇒ Object



10
11
12
# File 'lib/clearbit/risk.rb', line 10

def self.confirmed(values = {})
  post('confirmed', values)
end

.flag(values = {}) ⇒ Object



14
15
16
# File 'lib/clearbit/risk.rb', line 14

def self.flag(values = {})
  post('flag', values)
end