Module: SWD
- Defined in:
- lib/swd.rb,
lib/swd/cache.rb,
lib/swd/resource.rb,
lib/swd/response.rb,
lib/swd/exception.rb
Defined Under Namespace
Classes: BadRequest, Cache, Exception, Forbidden, HttpError, NotFound, Resource, Response, Unauthorized
Class Method Summary
collapse
Class Method Details
.cache ⇒ Object
5
6
7
|
# File 'lib/swd.rb', line 5
def self.cache
@@cache
end
|
.cache=(cache) ⇒ Object
2
3
4
|
# File 'lib/swd.rb', line 2
def self.cache=(cache)
@@cache = cache
end
|
.discover!(attributes = {}) ⇒ Object
8
9
10
|
# File 'lib/swd.rb', line 8
def self.discover!(attributes = {})
Resource.new(attributes).discover!
end
|