Sha256: 82185c0c6ad97345bd15fbf3da02f31842f0e498eb13553823acb61339cefb65
Contents?: true
Size: 498 Bytes
Versions: 10
Compression:
Stored size: 498 Bytes
Contents
module ThreeScaleToolbox module CRD module ApplicationPlanSerializer def to_cr { 'name' => name, 'appsRequireApproval' => approval_required?, 'trialPeriod' => trial_period_days, 'setupFee' => setup_fee, 'custom' => custom, 'state' => state, 'costMonth' => cost_per_month, 'pricingRules' => pricing_rules.map(&:to_cr), 'limits' => limits.map(&:to_cr) } end end end end
Version data entries
10 entries across 10 versions & 1 rubygems