Sha256: 683c54210ec5fda2aa97bd6b46b05a3b00e4dd95270ccbcafd2f30151638a543

Contents?: true

Size: 151 Bytes

Versions: 5

Compression:

Stored size: 151 Bytes

Contents

class SmsAero
  class Response::WithId < Response
    option :id, proc(&:to_s), optional: true

    def success?
      id.to_s != ""
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sms_aero-0.2.0 lib/sms_aero/response/with_id.rb
sms_aero-0.1.3 lib/sms_aero/response/with_id.rb
sms_aero-0.1.2 lib/sms_aero/response/with_id.rb
sms_aero-0.1.1 lib/sms_aero/response/with_id.rb
sms_aero-0.1.0 lib/sms_aero/response/with_id.rb