Class: Pike13::API::V2::Front::Plan

Inherits:
Base
  • Object
show all
Defined in:
lib/pike13/api/v2/front/plan.rb

Class Method Summary collapse

Methods inherited from Base

client, configure

Class Method Details

.allObject

GET /front/plans



10
11
12
# File 'lib/pike13/api/v2/front/plan.rb', line 10

def all
  client.get("front/plans")
end

.find(id) ⇒ Object

GET /front/plans/:id



15
16
17
# File 'lib/pike13/api/v2/front/plan.rb', line 15

def find(id)
  client.get("front/plans/#{id}")
end

.plan_terms(id) ⇒ Object

GET /front/plans/:id/plan_terms



20
21
22
# File 'lib/pike13/api/v2/front/plan.rb', line 20

def plan_terms(id)
  client.get("front/plans/#{id}/plan_terms")
end