Class: Pike13::API::V2::Front::Plan
- Defined in:
- lib/pike13/api/v2/front/plan.rb
Class Method Summary collapse
-
.all ⇒ Object
GET /front/plans.
-
.find(id) ⇒ Object
GET /front/plans/:id.
-
.plan_terms(id) ⇒ Object
GET /front/plans/:id/plan_terms.
Methods inherited from Base
Class Method Details
.all ⇒ Object
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 |