Class: Frame::TransferFeePlan
Constant Summary
collapse
- OBJECT_NAME =
"transfer_fee_plan"
Instance Attribute Summary
Attributes inherited from FrameObject
#id, #original_values
Class Method Summary
collapse
Methods inherited from APIResource
class_name, #refresh, resource_url, #resource_url
included
Methods inherited from FrameObject
#[], #[]=, construct_from, #each, #initialize, #initialize_from, #inspect, #keys, #serialize_params, #to_hash, #to_s, #update_attributes, #values
Class Method Details
.create(params = {}, opts = {}) ⇒ Object
11
12
13
|
# File 'lib/frame/resources/transfer_fee_plan.rb', line 11
def self.create(params = {}, opts = {})
request_object(:post, "/v1/transfer_fee_plans", params, opts)
end
|
.list(params = {}, opts = {}) ⇒ Object
15
16
17
|
# File 'lib/frame/resources/transfer_fee_plan.rb', line 15
def self.list(params = {}, opts = {})
request_object(:get, "/v1/transfer_fee_plans", params, opts)
end
|
.object_name ⇒ Object
7
8
9
|
# File 'lib/frame/resources/transfer_fee_plan.rb', line 7
def self.object_name
OBJECT_NAME
end
|
.retrieve(id, opts = {}) ⇒ Object
19
20
21
|
# File 'lib/frame/resources/transfer_fee_plan.rb', line 19
def self.retrieve(id, opts = {})
request_object(:get, "/v1/transfer_fee_plans/#{CGI.escape(id)}", {}, opts)
end
|