def build_request_with(opts)
      {}.tap do |hash|
        hash[:title] = opts[:title]
        hash[:contentFormat] = opts[:content_format]
        hash[:content] = opts[:content]
        hash[:tags] = opts[:tags] if opts.key? :tags
        hash[:canonicalUrl] = opts[:canonical_url] if opts.key? :canonical_url
        hash[:publishStatus] = opts[:publish_status] if opts.key? :publish_status
        hash[:publishedAt] = opts[:published_at] if opts.key? :published_at
        hash[:license] = opts[:license] if opts.key? :license
        hash[:notifyFollowers] = opts[:notify_followers] if opts.key? :notify_followers
      end
    end
def build_request_with(opts)
      {}.tap do |hash|
        hash[:title] = opts[:title]
        hash[:contentFormat] = opts[:content_format]
        hash[:content] = opts[:content]
        hash[:tags] = opts[:tags] if opts.key? :tags
        hash[:canonicalUrl] = opts[:canonical_url] if opts.key? :canonical_url
        hash[:publishStatus] = opts[:publish_status] if opts.key? :publish_status
        hash[:publishedAt] = opts[:published_at] if opts.key? :published_at
        hash[:license] = opts[:license] if opts.key? :license
        hash[:notifyFollowers] = opts[:notify_followers] if opts.key? :notify_followers
      end
    end
Takes the options provided in `Medium::Posts#create` and buildes the
 appropriate hash of options from it.

 @param opts [Hash] A hash of options to use when creating a post. The opts
   hash requires the keys: `:title`, `:content_format`, and `:content`. The
   following keys are optional: `:tags`, `:canonical_url`,
   `:publish_status`, and `:license`
 @return [Hash] The request hash