_ext/jboss_developer.rb
# Public: Wrapper around exists?, create_page, and update_page
#
# page      - Page object from awestruct
# content   - Transformed content of the page
# Returns the Faraday::Response
Wrapper around exists?, create_page, and update_page
page      - Page object from awestruct
content   - Transformed content of the page
Returns the Faraday::Response
Wrapper around exists? create_page and update_page page - Page object from awestruct content - Transformed content of the page Returns the Faraday :: Response
def send_page(page, content)
        path = create_path page
        if exists?(page) && !@drupal_pages["/#{path}"].nil?
          update_page page, content
        else
          create_page page, content
        end
      end
def send_page ( page , content ) path = create_path page if exists? ( page ) && ! @drupal_pages [ "/#{path}" ] . nil? update_page page , content else create_page page , content end end
Public: Wrapper around exists?, create_page, and update_page
page      - Page object from awestruct
content   - Transformed content of the page
Returns the Faraday::Response
Public : Wrapper around exists? create_page and update_page page - Page object from awestruct content - Transformed content of the page Returns the Faraday :: Response
# We know the page exists, but if the content in drupal is newer than the mtime on the page, don't update it #update_page page, content if page.input_mtime.to_datetime > @drupal_pages["/#{path}"]
page
<not_specific>
content
<not_specific>