class MessageBird::Voice::List

Constants

CURRENT_PAGE
PER_PAGE

Attributes

current_page[RW]
page_count[RW]
per_page[RW]
total_count[RW]

Public Instance Methods

data=(value) click to toggle source
# File lib/messagebird/voice/list.rb, line 11
def data=(value)
  # Call List API retruns data object instead of items
  # to make it consistence with the rest of the SDK we shall
  # propagate it to items= method
  self.items = value.nil? ? [] : value
end
pagination=(value) click to toggle source

map the pagination data to root level properties

# File lib/messagebird/voice/list.rb, line 19
def pagination=(value)
  map_hash_elements_to_self(value)
end