def create_action(page_name, email, options={})
      target = "#{self.base_url}/action/"
      body = { page: page_name, email: email }.merge self.parse_action_options(options)
      options = {
          basic_auth: self.auth,
          body: body.to_json,
          format: :json,
          headers: {'Content-Type' => 'application/json; charset=UTF-8'}
      }
      self.class.post(target, options)
    end
def create_action(page_name, email, options={})
      target = "#{self.base_url}/action/"
      body = { page: page_name, email: email }.merge self.parse_action_options(options)
      options = {
          basic_auth: self.auth,
          body: body.to_json,
          format: :json,
          headers: {'Content-Type' => 'application/json; charset=UTF-8'}
      }
      self.class.post(target, options)
    end
Creates an action which associates a user with a page.

 @param [String] page_name The ActionKit name of the page on which the action is being taken.
 @param [String] email     The email address of the person taking action.