Sha256: e3e5cafc21d03d0dc853b9ad320856deddf207a300eaf4dfee575a7d88234055

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

module Cellular
  class Configuration

    attr_accessor :username, :password, :delivery_url, :backend

    attr_accessor :country_code, :price, :sender
    
    attr_accessor :logger
    
    def logger
      @logger ||= Object.const_defined?(:Rails) ? Rails.logger : Logger.new
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cellular-2.1.0 lib/cellular/configuration.rb
cellular-2.0.0 lib/cellular/configuration.rb