Class: Frame::ThreeDsIntent
Constant Summary
collapse
- OBJECT_NAME =
"three_ds_intent"
Instance Attribute Summary
Attributes inherited from FrameObject
#id, #original_values
Class Method Summary
collapse
Instance 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/three_ds_intent.rb', line 11
def self.create(params = {}, opts = {})
request_object(:post, "/v1/3ds/intents", params, opts)
end
|
.object_name ⇒ Object
7
8
9
|
# File 'lib/frame/resources/three_ds_intent.rb', line 7
def self.object_name
OBJECT_NAME
end
|
.resend(id, params = {}, opts = {}) ⇒ Object
19
20
21
|
# File 'lib/frame/resources/three_ds_intent.rb', line 19
def self.resend(id, params = {}, opts = {})
request_object(:post, "/v1/3ds/intents/#{CGI.escape(id)}/resend", params, opts)
end
|
.retrieve(id, opts = {}) ⇒ Object
15
16
17
|
# File 'lib/frame/resources/three_ds_intent.rb', line 15
def self.retrieve(id, opts = {})
request_object(:get, "/v1/3ds/intents/#{CGI.escape(id)}", {}, opts)
end
|
Instance Method Details
#resend(params = {}, opts = {}) ⇒ Object
23
24
25
|
# File 'lib/frame/resources/three_ds_intent.rb', line 23
def resend(params = {}, opts = {})
request_object(:post, "/v1/3ds/intents/#{CGI.escape(self["id"])}/resend", params, opts)
end
|