Class: BigCommerce::ManagementAPI::Endpoint::Response::Meta
- Inherits:
-
Object
- Object
- BigCommerce::ManagementAPI::Endpoint::Response::Meta
- Defined in:
- lib/big_commerce/management_api/endpoint.rb
Instance Attribute Summary collapse
-
#failed ⇒ Object
readonly
Returns the value of attribute failed.
-
#pagination ⇒ Object
readonly
Returns the value of attribute pagination.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(meta) ⇒ Meta
constructor
A new instance of Meta.
Constructor Details
#initialize(meta) ⇒ Meta
Returns a new instance of Meta.
124 125 126 127 128 129 130 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 124 def initialize() @total = ["total"] @success = ["success"] @failed = ["failed"] @pagination = Pagination.new(["pagination"]) if ["pagination"] end |
Instance Attribute Details
#failed ⇒ Object (readonly)
Returns the value of attribute failed.
122 123 124 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 122 def failed @failed end |
#pagination ⇒ Object (readonly)
Returns the value of attribute pagination.
122 123 124 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 122 def pagination @pagination end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
122 123 124 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 122 def success @success end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
122 123 124 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 122 def total @total end |