Class: SlidePay::ACH::Resource
- Inherits:
-
SlidePay::ApiResource
- Object
- Hash
- SlidePay::ApiResource
- SlidePay::ACH::Resource
- Defined in:
- lib/slidepay/ach/resource.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from SlidePay::ApiResource
#api_key, #endpoint, #id_attribute, #token, #url_root
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(values_hash = {}) ⇒ Resource
constructor
A new instance of Resource.
- #save ⇒ Object
Methods inherited from SlidePay::ApiResource
api_resource_array_from_response, find, find_between, find_greater_than, find_less_than, find_where, #id, #is_new?, #populate_from_response, retrieve, #retrieve, #url
Constructor Details
#initialize(values_hash = {}) ⇒ Resource
Returns a new instance of Resource.
4 5 6 |
# File 'lib/slidepay/ach/resource.rb', line 4 def initialize(values_hash={}) super(values_hash) end |
Instance Method Details
#destroy ⇒ Object
12 13 14 |
# File 'lib/slidepay/ach/resource.rb', line 12 def destroy raise "ACH Resources cannot be destroyed" end |
#save ⇒ Object
8 9 10 |
# File 'lib/slidepay/ach/resource.rb', line 8 def save raise "ACH Resources cannot be saved" end |