Class: Ipay::Rest::Object
- Inherits:
-
Object
- Object
- Ipay::Rest::Object
- Defined in:
- lib/ipay/rest/object.rb
Direct Known Subclasses
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.
6 7 8 |
# File 'lib/ipay/rest/object.rb', line 6 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
15 16 17 |
# File 'lib/ipay/rest/object.rb', line 15 def respond_to_missing?(method, include_private = false ) true end |