class Levelup::Endpoints::SpecificApp

The endpoint serving as a bucket for all functions related to a specific app.

Attributes

id[RW]

Public Class Methods

new(id) click to toggle source
# File lib/levelup/endpoints/specific_app.rb, line 5
def initialize(id)
  self.id = id
end

Public Instance Methods

locations() click to toggle source
# File lib/levelup/endpoints/specific_app.rb, line 9
def locations
  AppLocations.new(id)
end

Private Instance Methods

path() click to toggle source
# File lib/levelup/endpoints/specific_app.rb, line 17
def path
  "apps/#{id}"
end