def method_missing(name, *args)
      if known_action?(name)
        execute_request(ACTIONS[name], args.first)
      elsif known_resource?(name)
        build_path(name, args.first)
      elsif known_exception?(name)
        build_path(EXCEPTIONS[name][:path], nil)
        execute_request(EXCEPTIONS[name][:action], args.first)
      else
        super
      end
    end
def method_missing(name, *args)
      if known_action?(name)
        execute_request(ACTIONS[name], args.first)
      elsif known_resource?(name)
        build_path(name, args.first)
      elsif known_exception?(name)
        build_path(EXCEPTIONS[name][:path], nil)
        execute_request(EXCEPTIONS[name][:action], args.first)
      else
        super
      end
    end
Uh oh! This will allow the class including this module to "build a path"
 by chaining calls to resources, terminated with a method linked to an
 action that will execute the api call.

 For example:

 `foo.stories(story_id).comments.update(id: comment_id, text: "comment text")`

 This example will execute a call to:

 `https://api.clubhouse.io/api/v2/stories/{story-id}/comments/{comment-id}`

 with arguments:

   `{ text: "comment text" }`