Sha256: f848d451a974d9f8f3f9b3d29e602db880756908cc6bd44221466dbfe7b77677

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

module Zenvia
  class Config
    include Singleton

    attr_accessor :account, :code, :timeout, :connect_timeout

    def timeout
      @timeout || 10
    end

    def connect_timeout
      @connect_timeout || 5
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zenvia-0.0.8 lib/zenvia/config.rb
zenvia-0.0.7 lib/zenvia/config.rb
zenvia-0.0.6 lib/zenvia/config.rb
zenvia-0.0.5 lib/zenvia/config.rb