Module: RoarExtensions
- Defined in:
- lib/roar_extensions.rb,
lib/roar_extensions/version.rb,
lib/roar_extensions/kaminari_shim.rb,
lib/roar_extensions/resource_links.rb,
lib/roar_extensions/destroyed_record_presenter.rb,
lib/roar_extensions/paginated_collection_presenter.rb
Defined Under Namespace
Modules: DestroyedRecordPresenter, Helpers, HypermediaExtensions, Presenter, Representer, ResourceLinks
Classes: KaminariShim, LinkPresenter, MoneyPresenter, PaginatedCollectionPresenter
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.base_url ⇒ Object
13
14
15
|
# File 'lib/roar_extensions.rb', line 13
def self.base_url
@base_url || raise("Set base url like RoarExtensions.base_url = 'http://example.com'")
end
|
.base_url=(url) ⇒ Object
9
10
11
|
# File 'lib/roar_extensions.rb', line 9
def self.base_url=(url)
@base_url = url
end
|