Class: VehicleCodingPh::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/vehicle_coding_ph/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#allowedObject (readonly)

Returns the value of attribute allowed.



4
5
6
# File 'lib/vehicle_coding_ph/response.rb', line 4

def allowed
  @allowed
end

#codingObject (readonly)

Returns the value of attribute coding.



4
5
6
# File 'lib/vehicle_coding_ph/response.rb', line 4

def coding
  @coding
end

#not_allowedObject (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