Module: Shushu

Extended by:
Shushu, HttpHelpers
Included in:
Shushu
Defined in:
lib/shushu.rb,
lib/models/r_code.rb,
lib/models/report.rb,
lib/models/account.rb,
lib/models/b_event.rb,
lib/models/res_own.rb,
lib/models/rev_rep.rb,
lib/models/acct_own.rb,
lib/models/p_method.rb,
lib/models/line_item.rb,
lib/models/heart_beat.rb,
lib/models/unit_group.rb,
lib/helpers/http_helpers.rb,
lib/models/billable_unit.rb,
lib/presenters/base_presenter.rb,
lib/presenters/unit_presenter.rb,
lib/services/line_item_builder.rb,
lib/presenters/report_presenter.rb,
lib/presenters/line_item_presenter.rb,
lib/presenters/unit_group_presenter.rb

Defined Under Namespace

Modules: Account, AcctOwn, BEvent, HeartBeat, HttpHelpers, LineItemBuilder, PMethod, RCode, ResOwn, RevRep Classes: BasePresenter, BillableUnit, Client, Invoice, LineItem, LineItemPresenter, RateCodeReport, Report, ReportPresenter, UnitGroup, UnitGroupPresenter, UnitPresenter, UsageReport

Constant Summary collapse

ShushuException =
Class.new(StandardError)

Instance Method Summary collapse

Methods included from HttpHelpers

build_q_params, dec_json, enc_json, handle_req, headers

Instance Method Details

#urlObject



19
20
21
# File 'lib/shushu.rb', line 19

def url
  Client.url
end

#url=(url) ⇒ Object



23
24
25
# File 'lib/shushu.rb', line 23

def url=(url)
  Client.url = url
end