Sha256: e4b27ef6ac96bc5ca44e2a401f22a26ab8f51de50d768b7d2fbd04e5bdc22ff6

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

require "rest-client"
require "json"
require "nfe/version"
require "nfe/configuration"

require "nfe/api_resource"
require "nfe/api_operations/create"
require "nfe/api_operations/delete"
require "nfe/api_operations/list"
require "nfe/api_operations/retrieve"
require "nfe/api_operations/update"

require "nfe/nfe_object"
require "nfe/service_invoice"
require "nfe/company"
require "nfe/natural_people"
require "nfe/legal_people"

require "nfe/util"
require "nfe/errors/nfe_error"


module Nfe
  @@api_key = ''

  def self.api_key(api_key)
    @@api_key = api_key
  end

  def self.access_keys
    "#{@@api_key}"
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration) if block_given?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nfe-io-0.2.5 lib/nfe.rb