Class: GdsApi::Maslow

Inherits:
Base
  • Object
show all
Defined in:
lib/gds_api/maslow.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#client, #create_client, #get_list, #initialize, #url_for_slug

Constructor Details

This class inherits a constructor from GdsApi::Base

Instance Method Details

#need_page_url(content_id) ⇒ Object



2
3
4
# File 'lib/gds_api/maslow.rb', line 2

def need_page_url(content_id)
  "#{endpoint}/needs/#{content_id}"
end