Class: Levelup::Endpoints::SpecificApp

Inherits:
Base
  • Object
show all
Defined in:
lib/levelup/endpoints/specific_app.rb

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ SpecificApp

Returns a new instance of SpecificApp.



6
7
8
# File 'lib/levelup/endpoints/specific_app.rb', line 6

def initialize(id)
  self.id = id
end

Instance Method Details

#locationsObject



10
11
12
# File 'lib/levelup/endpoints/specific_app.rb', line 10

def locations
  AppLocations.new(id)
end