def create_link(options = {}, &block)
      options = set_options(options, &block)
      options[:file_upload_json] = options[:file_upload] && upload_file(options.delete(:file_upload))
      options[:cover_image_json] = options[:cover_image] && upload_file(options.delete(:cover_image))
      post('links', options)
      @response.success? ? Instamojo::Link.new(@response.body[:link], self) : @response
    end
def create_link(options = {}, &block)
      options = set_options(options, &block)
      options[:file_upload_json] = options[:file_upload] && upload_file(options.delete(:file_upload))
      options[:cover_image_json] = options[:cover_image] && upload_file(options.delete(:cover_image))
      post('links', options)
      @response.success? ? Instamojo::Link.new(@response.body[:link], self) : @response
    end
POST /links