Class: Veriff::Decision
Instance Method Summary collapse
Methods inherited from Model
api_collection_name, #initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from Veriff::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Veriff::Model
Instance Method Details
#document ⇒ Object
9 10 11 |
# File 'lib/veriff/decision.rb', line 9 def document @document ||= OpenStruct.new(@data_hash[:document]) end |
#person ⇒ Object
5 6 7 |
# File 'lib/veriff/decision.rb', line 5 def person @person ||= OpenStruct.new(@data_hash[:person]) end |