class Levelup::Endpoints::AppLocations
The endpoint holding all functions relating to a specific app's locations. This endpoint is a v14 endpoint and should not be expected to remain accessible indefinitely.
Attributes
id[RW]
Public Class Methods
new(id)
click to toggle source
# File lib/levelup/endpoints/app_locations.rb, line 6 def initialize(id) self.id = id end
Public Instance Methods
list()
click to toggle source
Provides a list of locations controlled by this app. This list is paginated.
# File lib/levelup/endpoints/app_locations.rb, line 11 def list Requests::ListAppLocations.new. send_to_api(:get, endpoint_path(:v14)) end
Private Instance Methods
path()
click to toggle source
# File lib/levelup/endpoints/app_locations.rb, line 20 def path "apps/#{id}/locations" end