class Apicalypse

Constants

VERSION

Attributes

scope[R]

Public Class Methods

new(uri, options = {}) click to toggle source
# File lib/apicalypse.rb, line 7
def initialize(uri, options = {})
  @scope = Scope.new(self)
  @request = Request.new(uri, options)
end

Public Instance Methods

exclude(args) click to toggle source
# File lib/apicalypse.rb, line 18
def exclude(args)
  @scope.exclude(args)
end
fields(*args) click to toggle source
# File lib/apicalypse.rb, line 14
def fields(*args)
  @scope.fields(args)
end
limit(args) click to toggle source
# File lib/apicalypse.rb, line 26
def limit(args)
  @scope.limit(args)
end
offset(args) click to toggle source
# File lib/apicalypse.rb, line 30
def offset(args)
  @scope.offset(args)
end
query(args) click to toggle source
# File lib/apicalypse.rb, line 42
def query(args)
  @scope.query(args)
end
request() click to toggle source
# File lib/apicalypse.rb, line 46
def request
  @request.perform(@scope)
end
sort(args) click to toggle source
# File lib/apicalypse.rb, line 34
def sort(args)
  @scope.sort(args)
end
where(args) click to toggle source
# File lib/apicalypse.rb, line 22
def where(args)
  @scope.where(args)
end