class HelpScout::CollectionsEnvelope
Collections Envelope
Attributes
count[R]
items[R]
page[R]
pages[R]
Public Class Methods
new(object)
click to toggle source
Creates a new CollectionsEnvelope
object from a Hash of attributes
# File lib/helpscout/models.rb, line 34 def initialize(object) @page = object["page"] @pages = object["pages"] @count = object["count"] @items = object["items"] end