Class: Corzinus::Checkout::DeliveryAccessService

Inherits:
AccessService show all
Defined in:
app/services/corzinus/checkout/delivery_access_service.rb

Instance Attribute Summary

Attributes inherited from AccessService

#order

Instance Method Summary collapse

Methods inherited from AccessService

allow?, #allow?, #initialize, #step_dependencies, valid?

Constructor Details

This class inherits a constructor from Corzinus::Checkout::AccessService

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/services/corzinus/checkout/delivery_access_service.rb', line 4

def valid?
  order.delivery.present?
end