Module: Basuco
- 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.4"
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.
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
9 10 11 12 13 |
# File 'lib/basuco.rb', line 9 def self.check_statuses response = http_request status_service_url result = JSON.parse response result end |