Class: Payment::Manager::PlanParser
- Inherits:
-
Object
- Object
- Payment::Manager::PlanParser
- Defined in:
- lib/payment/manager/plan_parser.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ PlanParser
constructor
A new instance of PlanParser.
- #plans ⇒ Object
Constructor Details
#initialize(body) ⇒ PlanParser
Returns a new instance of PlanParser.
5 6 7 |
# File 'lib/payment/manager/plan_parser.rb', line 5 def initialize(body) @json = JSON.parse(body) end |