Class: Allorails::Response::OnetimeButtonResponse
- Inherits:
-
ApiMappingResponse
- Object
- ApiResponse
- ApiMappingResponse
- Allorails::Response::OnetimeButtonResponse
- Defined in:
- lib/allorails/response/onetime_button_response.rb
Overview
Class defining a onetime button request’s response
Instance Attribute Summary
Attributes inherited from ApiMappingResponse
Instance Method Summary collapse
-
#access_type ⇒ Object
Provides access type @return (string) access type.
-
#button_id ⇒ Object
Provides the button id @return (string) button id.
-
#buy_url ⇒ Object
Provides the buy url @return (string) buy url.
-
#checkout_button ⇒ Object
Provides the checkout button @return (string) checkout button (html code).
-
#creation_date ⇒ Object
Provides the creation date @return (datetime.datetime) Creation date.
-
#website ⇒ Object
Provides the website @return (Website) website.
Methods inherited from ApiMappingResponse
#_verify, attribute_reader, #initialize, node_reader
Methods inherited from ApiResponse
Constructor Details
This class inherits a constructor from Allorails::Response::ApiMappingResponse
Instance Method Details
#access_type ⇒ Object
Provides access type
@return (string) access type
6 |
# File 'lib/allorails/response/onetime_button_response.rb', line 6 node_reader :access_type |
#button_id ⇒ Object
Provides the button id
@return (string) id
10 |
# File 'lib/allorails/response/onetime_button_response.rb', line 10 node_reader :button_id |
#buy_url ⇒ Object
Provides the buy url
@return (string) buy url
22 |
# File 'lib/allorails/response/onetime_button_response.rb', line 22 node_reader :buy_url |
#checkout_button ⇒ Object
Provides the checkout button
@return (string) checkout (html code)
26 |
# File 'lib/allorails/response/onetime_button_response.rb', line 26 node_reader :checkout_button |
#creation_date ⇒ Object
Provides the creation date
@return (datetime.datetime) Creation date
14 |
# File 'lib/allorails/response/onetime_button_response.rb', line 14 node_reader :creation_date, DateTime |
#website ⇒ Object
Provides the website
@return (Website) website
18 |
# File 'lib/allorails/response/onetime_button_response.rb', line 18 node_reader :website, Allorails::Website |