Sha256: 815bbb3452ea5d515e4f866ba3ca91101bbe606daf9e9a9f4eed69878788a0bb

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

module Msg91sms
  class Configuration
    attr_accessor :authkey

    def initialize
      @authkey = nil
    end

    def authkey
      raise Msg91sms::Errors::Configuration, "Msg91 auth key missing!" unless @authkey
      @authkey
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
msg91sms-1.0.1 lib/msg91sms/configuration.rb
msg91sms-1.0 lib/msg91sms/configuration.rb