Class: BlazeVerify::APIResource

Inherits:
Object
  • Object
show all
Defined in:
lib/blazeverify/resources/api_resource.rb

Direct Known Subclasses

Account, BatchStatus, Verification

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ APIResource


4
5
6
7
8
# File 'lib/blazeverify/resources/api_resource.rb', line 4

def initialize(attributes = {})
  attributes.each do |attr, value|
    instance_variable_set("@#{attr}", value)
  end
end