_ext/jboss_developer.rb
# Public: Sends a POST request to Drupal to create a new page.
#
# page      - Page object from awestruct
# content   - Transformed content of the page$
#
# Returns the Faraday::Response
Sends a POST request to Drupal to create a new page.
page      - Page object from awestruct
content   - Transformed content of the page$

Returns the Faraday::Response
Sends a POST request to Drupal to create a new page . page - Page object from awestruct content - Transformed content of the page$ Returns the Faraday :: Response
def create_page(page, content)
        $LOG.verbose "Creating page '#{@base_url}#{create_path(page)}' from content '#{page.output_path}'" if $LOG.verbose?
        payload = create_payload page, content
        post 'entity', 'node', payload
      end
def create_page ( page , content ) $LOG . verbose "Creating page '#{@base_url}#{create_path(page)}' from content '#{page.output_path}'" if $LOG . verbose? payload = create_payload page , content post 'entity' , 'node' , payload end
Public: Sends a POST request to Drupal to create a new page.
Public : Sends a POST request to Drupal to create a new page .
page
<not_specific>
content
<not_specific>