Top Level Namespace

Defined Under Namespace

Modules: Stage

Constant Summary collapse

SDK_API_PATH_PREFIX =
"/sdk-api"
API_VERSION =
"v1"
CREATE_USER_PATH =
"#{SDK_API_PATH_PREFIX}/#{API_VERSION}/users"
PLANS_PATH =
"#{SDK_API_PATH_PREFIX}/#{API_VERSION}/plans"

Instance Method Summary collapse

Instance Method Details

#has_access_path(user_identifier) ⇒ Object



9
10
11
# File 'lib/stage-ruby/utils.rb', line 9

def has_access_path(user_identifier)
  "#{CREATE_USER_PATH}/#{user_identifier}/features"
end

#update_user_plan_path(user_identifier) ⇒ Object



13
14
15
# File 'lib/stage-ruby/utils.rb', line 13

def update_user_plan_path(user_identifier)
  "#{SDK_API_PATH_PREFIX}/#{API_VERSION}/users/#{user_identifier}/plans"
end