Class: Dicts::RejectType
Constant Summary collapse
- LEASE_INQUIRY =
какой-то юзер оставляет заявку на аренду
new 1, 'user_lease_inquiry', '::Lease::Inquiry'
- LIST_YOR_BOAT =
какой-то юзер пытается добавить лодку с помощью фичи LIST YOUR BOAT
new 2, 'user_list_your_boat', '::Boat'
- CREATE_BOAT =
агент пытается добавить лодку
new 3, 'agent_create_boat', '::Boat'
- UPDATE_BOAT =
агент пытается обновить лодку
new 4, 'agent_update_boat', '::Boat'
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Dict
Instance Method Summary collapse
-
#initialize(id, index, type) ⇒ RejectType
constructor
A new instance of RejectType.
Methods inherited from Dict
all, find, find_by_index, where
Constructor Details
#initialize(id, index, type) ⇒ RejectType
6 7 8 9 |
# File 'app/dicts/reject_type.rb', line 6 def initialize(id, index, type) @type = type super id, index end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'app/dicts/reject_type.rb', line 4 def type @type end |