Class: SlidePay::ACH::Resource

Inherits:
SlidePay::ApiResource show all
Defined in:
lib/slidepay/ach/resource.rb

Direct Known Subclasses

Retrieval, Settlement

Instance Attribute Summary

Attributes inherited from SlidePay::ApiResource

#api_key, #endpoint, #id_attribute, #token, #url_root

Instance Method Summary collapse

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

#destroyObject



12
13
14
# File 'lib/slidepay/ach/resource.rb', line 12

def destroy
  raise "ACH Resources cannot be destroyed"
end

#saveObject



8
9
10
# File 'lib/slidepay/ach/resource.rb', line 8

def save
  raise "ACH Resources cannot be saved"
end