Class: EhbrsRubyUtils::WebUtils::Instance
- Inherits:
-
Avm::EacRailsBase0::Instances::Base
- Object
- Avm::EacRailsBase0::Instances::Base
- EhbrsRubyUtils::WebUtils::Instance
show all
- Defined in:
- lib/ehbrs_ruby_utils/web_utils/instance.rb,
lib/ehbrs_ruby_utils/web_utils/instance/finances.rb,
lib/ehbrs_ruby_utils/web_utils/instance/http_request.rb,
lib/ehbrs_ruby_utils/web_utils/instance/finances/bills.rb,
lib/ehbrs_ruby_utils/web_utils/instance/finances/bills/consume.rb,
lib/ehbrs_ruby_utils/web_utils/instance/finances/bills/consume/file.rb
Defined Under Namespace
Classes: Finances, HttpRequest
Instance Method Summary
collapse
Instance Method Details
#api ⇒ EacRest::Api
13
14
15
|
# File 'lib/ehbrs_ruby_utils/web_utils/instance.rb', line 13
def api
::EacRest::Api.new(root_url, read_entry(:admin_username), read_entry(:admin_password))
end
|
#root_url ⇒ Object
21
22
23
|
# File 'lib/ehbrs_ruby_utils/web_utils/instance.rb', line 21
def root_url
web_url
end
|