Sha256: 6a177eda8dbea3c8d76d3e43088cd0b80c9e0b5fde8f4e84d59a2fadfd2d4f0b

Contents?: true

Size: 709 Bytes

Versions: 3

Compression:

Stored size: 709 Bytes

Contents

require "intacctrb/version"
require 'net/http'
require 'nokogiri'
require 'hooks'
require 'ostruct'
require "intacctrb/base"
require "intacctrb/customer"
require "intacctrb/journal_entry"
require "intacctrb/vendor"
require "intacctrb/invoice"
require "intacctrb/bill"
require "intacctrb/ap_payment"

class Object
  def blank?
    respond_to?(:empty?) ? empty? : !self
  end

  def present?
    !blank?
  end
end

module IntacctRB
  extend self

  attr_accessor :xml_sender_id  , :xml_password    ,
                :app_user_id    , :app_company_id  , :app_password ,
                :invoice_prefix , :bill_prefix     ,
                :vendor_prefix  , :customer_prefix

  def setup
    yield self
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
intacctrb-0.2.1pre lib/intacctrb.rb
intacctrb-0.2pre lib/intacctrb.rb
intacctrb-0.1 lib/intacctrb.rb