Class: PersonaApi::Object
- Inherits:
-
Object
- Object
- PersonaApi::Object
- Defined in:
- lib/persona_api/object.rb
Direct Known Subclasses
Account, ApiLog, Case, DatabaseVerification, Document, Event, File, GovernmentIdVerification, Inquiry, List, ListItem, PhoneCarrierVerification, PhoneNumberVerification, Report, SelfieVerification, TinDatabaseVerification, Transaction, UserAuditLog, Verification
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Object
constructor
A new instance of Object.
- #method_missing(method, *args, &block) ⇒ Object
- #respond_to_missing?(method, include_private = false) ⇒ Boolean
Constructor Details
#initialize(attributes) ⇒ Object
Returns a new instance of Object.
5 6 7 |
# File 'lib/persona_api/object.rb', line 5 def initialize(attributes) @attributes = OpenStruct.new(attributes) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#respond_to_missing?(method, include_private = false) ⇒ Boolean
14 15 16 |
# File 'lib/persona_api/object.rb', line 14 def respond_to_missing?(method, include_private = false) true end |