Class: TicketflyPlus::Calls::Base
- Inherits:
-
Object
- Object
- TicketflyPlus::Calls::Base
- Defined in:
- lib/ticketfly_plus/calls.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #next_page ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
5 6 |
# File 'lib/ticketfly_plus/calls.rb', line 5 def initialize(={}) end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
4 5 6 |
# File 'lib/ticketfly_plus/calls.rb', line 4 def data @data end |
Instance Method Details
#next_page ⇒ Object
8 9 10 |
# File 'lib/ticketfly_plus/calls.rb', line 8 def next_page @data['nextPage'] ? self.class.new(next_page_string: @data['nextPage']) : @data['status'] end |