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.



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

def initialize(id)
  self.id = id
end

Instance Method Details

#locationsObject



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

def locations
  AppLocations.new(id)
end