class RubySms::Gateway::Response

Attributes

errors[RW]

Public Class Methods

new() click to toggle source
# File lib/gateway/response.rb, line 5
def initialize
  self.errors = []
end

Public Instance Methods

success?() click to toggle source
# File lib/gateway/response.rb, line 9
def success?
  errors.empty?
end