Class: VehicleCodingPh::Response
- Inherits:
-
Object
- Object
- VehicleCodingPh::Response
- Defined in:
- lib/vehicle_coding_ph/response.rb
Instance Attribute Summary collapse
-
#allowed ⇒ Object
readonly
Returns the value of attribute allowed.
-
#coding ⇒ Object
readonly
Returns the value of attribute coding.
-
#not_allowed ⇒ Object
readonly
Returns the value of attribute not_allowed.
Instance Method Summary collapse
-
#initialize(coding, allowed, not_allowed) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(coding, allowed, not_allowed) ⇒ Response
Returns a new instance of Response.
6 7 8 9 10 |
# File 'lib/vehicle_coding_ph/response.rb', line 6 def initialize(coding, allowed, not_allowed) @coding = coding @allowed = allowed @not_allowed = not_allowed end |
Instance Attribute Details
#allowed ⇒ Object (readonly)
Returns the value of attribute allowed.
4 5 6 |
# File 'lib/vehicle_coding_ph/response.rb', line 4 def allowed @allowed end |
#coding ⇒ Object (readonly)
Returns the value of attribute coding.
4 5 6 |
# File 'lib/vehicle_coding_ph/response.rb', line 4 def coding @coding end |
#not_allowed ⇒ Object (readonly)
Returns the value of attribute not_allowed.
4 5 6 |
# File 'lib/vehicle_coding_ph/response.rb', line 4 def not_allowed @not_allowed end |