Sha256: 9f3477c55c23c188b73efdd9a8e90769090bda3341b877ac7cf4ded3a2ea53e5

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

require "assertiva/version"
require "assertiva/localize"
require "assertiva/requests"
require "rest-client"
require "json"

module Assertiva
  # RestClient.log = 'stdout'

  class << self
    attr_accessor :api_key
  end

  class NoApiKey < StandardError
  end

  class InvalidParams < StandardError
  end

  def self.base_url
    @base_url = "https://services.assertivasolucoes.com.br:443"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
assertiva-0.2.2 lib/assertiva.rb
assertiva-0.2.1 lib/assertiva.rb
assertiva-0.2.0 lib/assertiva.rb
assertiva-0.1.1 lib/assertiva.rb