Class: ZeroClick::Sellers::AllowanceDecision

Inherits:
Struct
  • Object
show all
Defined in:
lib/zeroclick/sellers/contracts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allowedObject

Returns the value of attribute allowed

Returns:

  • (Object)

    the current value of allowed



160
161
162
# File 'lib/zeroclick/sellers/contracts.rb', line 160

def allowed
  @allowed
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



160
161
162
# File 'lib/zeroclick/sellers/contracts.rb', line 160

def reason
  @reason
end

Instance Method Details

#allowed?Boolean

Returns:

  • (Boolean)


161
# File 'lib/zeroclick/sellers/contracts.rb', line 161

def allowed? = allowed