class Mashery::QueryBuilder::Items

the ITEMS clause can specify an alternative number of records to return per page. > SELECT * FROM members ITEMS 25

Public Class Methods

new(count) click to toggle source
# File lib/mashery/query_builder.rb, line 144
def initialize(count)
  @count = count
end

Public Instance Methods

to_s() click to toggle source
# File lib/mashery/query_builder.rb, line 148
def to_s
  if @count.blank?
    ""
  else
    "ITEMS #{@count}"
  end
end