Module: Zoanthid::ExampleGroup
- Defined in:
- lib/zoanthid/example_group.rb
Constant Summary collapse
- DEFAULT_HOST =
"www.example.com"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/zoanthid/example_group.rb', line 5 def self.included(base) base.[:type] = :api if base.respond_to?(:default_url_options) base.[:host] ||= Zoanthid::ExampleGroup::DEFAULT_HOST end end |