Method: Verizon::ServicePlan#initialize
- Defined in:
- lib/verizon/models/service_plan.rb
#initialize(carrier_service_plan_code = SKIP, code = SKIP, extended_attributes = SKIP, name = SKIP, size_kb = SKIP) ⇒ ServicePlan
Returns a new instance of ServicePlan.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/verizon/models/service_plan.rb', line 59 def initialize(carrier_service_plan_code = SKIP, code = SKIP, extended_attributes = SKIP, name = SKIP, size_kb = SKIP) unless carrier_service_plan_code == SKIP @carrier_service_plan_code = carrier_service_plan_code end @code = code unless code == SKIP @extended_attributes = extended_attributes unless extended_attributes == SKIP @name = name unless name == SKIP @size_kb = size_kb unless size_kb == SKIP end |