Class: Pike13::API::V2::Front::PlanTerms
- Defined in:
- lib/pike13/api/v2/front/plan_terms.rb
Class Method Summary collapse
-
.all(plan_id:, **params) ⇒ Object
GET /front/plans/:plan_id/plan_terms.
-
.complete(plan_id:, plan_terms_id:) ⇒ Object
GET /front/plans/:plan_id/plan_terms/:plan_terms_id/complete.
-
.find(plan_id:, plan_terms_id:) ⇒ Object
GET /front/plans/:plan_id/plan_terms/:plan_terms_id.
Methods inherited from Base
Class Method Details
.all(plan_id:, **params) ⇒ Object
GET /front/plans/:plan_id/plan_terms
10 11 12 |
# File 'lib/pike13/api/v2/front/plan_terms.rb', line 10 def all(plan_id:, **params) client.get("front/plans/#{plan_id}/plan_terms", params) end |
.complete(plan_id:, plan_terms_id:) ⇒ Object
GET /front/plans/:plan_id/plan_terms/:plan_terms_id/complete
20 21 22 |
# File 'lib/pike13/api/v2/front/plan_terms.rb', line 20 def complete(plan_id:, plan_terms_id:) client.get("front/plans/#{plan_id}/plan_terms/#{plan_terms_id}/complete") end |
.find(plan_id:, plan_terms_id:) ⇒ Object
GET /front/plans/:plan_id/plan_terms/:plan_terms_id
15 16 17 |
# File 'lib/pike13/api/v2/front/plan_terms.rb', line 15 def find(plan_id:, plan_terms_id:) client.get("front/plans/#{plan_id}/plan_terms/#{plan_terms_id}") end |