Sha256: 44bf173302b3de4076efec79fae7cdd5e4a70730060c27cbde2ab101de3376b0

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

require_relative "telcosms_module"

class Telcosms
  include TelcosmsModule

  def initialize(username: set_username, password: set_password, service: nil)
    @username = username
    @password = password
  end

  private
    def set_username
      ENV.fetch('TELCOSMS_USERNAME')
    end

    def set_password
      ENV.fetch('TELCOSMS_PASSWORD')
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telcosms-1.1.0 lib/telcosms.rb
telcosms-1.0.2 lib/telcosms.rb
telcosms-1.0.1 lib/telcosms.rb
telcosms-1.0.0 lib/telcosms.rb