Module: Invoice2go::Response
- Included in:
- API
- Defined in:
- lib/invoice2go/response.rb
Instance Attribute Summary collapse
-
#meta ⇒ Object
readonly
Returns the value of attribute meta.
-
#pagination ⇒ Object
readonly
Returns the value of attribute pagination.
Class Method Summary collapse
Instance Attribute Details
#meta ⇒ Object (readonly)
Returns the value of attribute meta.
10 11 12 |
# File 'lib/invoice2go/response.rb', line 10 def end |
#pagination ⇒ Object (readonly)
Returns the value of attribute pagination.
9 10 11 |
# File 'lib/invoice2go/response.rb', line 9 def pagination @pagination end |
Class Method Details
.create(response_hash) ⇒ Object
3 4 5 6 7 |
# File 'lib/invoice2go/response.rb', line 3 def self.create(response_hash) data = response_hash.data.dup rescue response_hash data.extend(self) return data end |