Class: Grape::API

Inherits:
Object
  • Object
show all
Defined in:
lib/grape-jsonapi-resources/api_options_extension.rb

Class Method Summary collapse

Class Method Details

.jsonapi_base_url(url = nil) ⇒ Object



4
5
6
# File 'lib/grape-jsonapi-resources/api_options_extension.rb', line 4

def jsonapi_base_url(url = nil)
  namespace_inheritable(:jsonapi_base_url, url)
end