Class: Pingpp::SubBank
- Inherits:
-
APIResource
- Object
- PingppObject
- APIResource
- Pingpp::SubBank
- Extended by:
- APIOperations::List
- Defined in:
- lib/pingpp/sub_bank.rb
Class Method Summary collapse
Methods included from APIOperations::List
Methods inherited from APIResource
class_name, #refresh, #resource_url, retrieve, uri_object_name
Methods included from APIOperations::Request
Methods inherited from PingppObject
#==, #[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #serialize_params, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Pingpp::PingppObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Pingpp::PingppObject
Class Method Details
.object_name ⇒ Object
5 6 7 |
# File 'lib/pingpp/sub_bank.rb', line 5 def self.object_name 'sub_bank' end |
.query(params = {}, opts = {}) ⇒ Object
13 14 15 |
# File 'lib/pingpp/sub_bank.rb', line 13 def self.query(params={}, opts={}) list(params, opts) end |
.resource_url(opts = {}) ⇒ Object
9 10 11 |
# File 'lib/pingpp/sub_bank.rb', line 9 def self.resource_url(opts={}) '/v1/sub_banks' end |