Class: Octobat::PaymentSource
- Inherits:
-
APIResource
- Object
- OctobatObject
- APIResource
- Octobat::PaymentSource
- Extended by:
- APIOperations::List
- Includes:
- APIOperations::Create
- Defined in:
- lib/octobat/payment_source.rb
Instance Attribute Summary
Attributes inherited from OctobatObject
Class Method Summary collapse
Methods included from APIOperations::List
Methods included from APIOperations::Create
Methods inherited from APIResource
class_name, #refresh, retrieve, #url
Methods inherited from OctobatObject
#[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Octobat::OctobatObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Octobat::OctobatObject
Class Method Details
.parent_resource(filters) ⇒ Object
12 13 14 |
# File 'lib/octobat/payment_source.rb', line 12 def self.parent_resource(filters) @parent_resource = filters.select{|k, v| [:customer].include?(k)} end |