Method: Bitpesa::Recipient#valid?
- Defined in:
- lib/bitpesa-sdk/models/recipient.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
238 239 240 241 242 243 |
# File 'lib/bitpesa-sdk/models/recipient.rb', line 238 def valid? return false if @requested_amount.nil? return false if @requested_currency.nil? return false if @payout_method.nil? true end |