Exception: Promoted::Ruby::Client::InvalidPagingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/promoted/ruby/client/pager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, default_insertions_page) ⇒ InvalidPagingError

Returns a new instance of InvalidPagingError.



7
8
9
10
# File 'lib/promoted/ruby/client/pager.rb', line 7

def initialize(message, default_insertions_page)
  super(message)
  @default_insertions_page = default_insertions_page
end

Instance Attribute Details

#default_insertions_pageObject (readonly)

Returns the value of attribute default_insertions_page.



5
6
7
# File 'lib/promoted/ruby/client/pager.rb', line 5

def default_insertions_page
  @default_insertions_page
end