Module: Basuco
- Includes:
- Request
- Defined in:
- lib/basuco/view.rb,
lib/basuco.rb,
lib/basuco/api.rb,
lib/basuco/type.rb,
lib/basuco/util.rb,
lib/basuco/topic.rb,
lib/basuco/trans.rb,
lib/basuco/search.rb,
lib/basuco/version.rb,
lib/basuco/property.rb,
lib/basuco/resource.rb,
lib/basuco/attribute.rb,
lib/basuco/collection.rb
Overview
provides an interface to view a subject (resource or topic) as a specific type provides an interface for working with attributes, properties
Defined Under Namespace
Modules: Util Classes: Api, Attribute, Collection, Property, Resource, Search, Topic, Trans, Type, View
Constant Summary collapse
- VERSION =
"0.0.8"
Constants included from Request
Class Attribute Summary collapse
-
.api ⇒ Object
Returns the value of attribute api.
-
.search ⇒ Object
Returns the value of attribute search.
-
.trans ⇒ Object
Returns the value of attribute trans.
Class Method Summary collapse
-
.check_statuses ⇒ Object
hash of all statuses.
Methods included from Request
#get_query_response, #handle_read_error, #http_request, #params_to_string, #service_url
Class Attribute Details
.api ⇒ Object
Returns the value of attribute api.
3 4 5 |
# File 'lib/basuco/api.rb', line 3 def api @api end |
.search ⇒ Object
Returns the value of attribute search.
3 4 5 |
# File 'lib/basuco/search.rb', line 3 def search @search end |
.trans ⇒ Object
Returns the value of attribute trans.
3 4 5 |
# File 'lib/basuco/trans.rb', line 3 def trans @trans end |
Class Method Details
.check_statuses ⇒ Object
hash of all statuses
22 23 24 25 26 |
# File 'lib/basuco.rb', line 22 def self.check_statuses response = http_request status_service_url result = JSON.parse response result end |