Module: Finnegans
- Defined in:
- lib/finnegans.rb,
lib/finnegans/client.rb,
lib/finnegans/support.rb,
lib/finnegans/version.rb,
lib/finnegans/resource.rb,
lib/finnegans/core/request.rb,
lib/finnegans/core/authentication.rb
Defined Under Namespace
Modules: Core, Support
Classes: ArgumentError, AuthenticationError, Client, RequestError, Resource, SetupError
Constant Summary
collapse
- VERSION =
"0.1.4"
- @@resources_namespace =
''
- @@api_catalog_path =
''
Class Method Summary
collapse
Class Method Details
.api_catalog_path ⇒ Object
35
36
37
|
# File 'lib/finnegans.rb', line 35
def api_catalog_path
@@api_catalog_path
end
|
.api_catalog_path=(value) ⇒ Object
46
47
48
49
|
# File 'lib/finnegans.rb', line 46
def api_catalog_path=(value)
value = value.to_s
@@api_catalog_path = (value.empty? ? nil : value)
end
|
.resources_namespace ⇒ Object
38
39
40
|
# File 'lib/finnegans.rb', line 38
def resources_namespace
@@resources_namespace
end
|
.resources_namespace=(value) ⇒ Object
50
51
52
53
|
# File 'lib/finnegans.rb', line 50
def resources_namespace=(value)
value = value.to_s
@@resources_namespace = (value.empty? ? nil : value)
end
|
.setup {|_self| ... } ⇒ Object
42
43
44
|
# File 'lib/finnegans.rb', line 42
def setup
yield self
end
|