Class: Keywright::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/keywright/result.rb

Direct Known Subclasses

ErrorResult, TokenResult, UserInfoResult

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Result

Returns a new instance of Result.



3
4
5
6
7
# File 'lib/keywright/result.rb', line 3

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