class Dibuk::Response::Sent

Constants

NOT_AVAILABLE_FORMAT_CODES
SUCCESS_HTTP_STATUSES
SUCCESS_STATUSES
WRONG_EMAIL_CODES

Public Instance Methods

not_available_format?() click to toggle source
# File lib/dibuk/response/sent.rb, line 22
def not_available_format?
  self.class::NOT_AVAILABLE_FORMAT_CODES.include?(status)
end
wrong_email?() click to toggle source
# File lib/dibuk/response/sent.rb, line 18
def wrong_email?
  self.class::WRONG_EMAIL_CODES.include?(status)
end