Sha256: 9221836f9d3ee3c44bd2d8108cee97a7cc34afac8eb7d0fbeb080b49e7219078
Contents?: true
Size: 677 Bytes
Versions: 12
Compression:
Stored size: 677 Bytes
Contents
module Qiita module Commands class Request < Base def call response = client.send( @arguments.method_name, *@arguments.arguments, @arguments.params, @arguments.headers, ) print ResponseRenderer.new( response, color: @arguments.color, show_body: @arguments.show_body, show_header: @arguments.show_header, ) end private def client Client.new( access_token: @arguments.access_token, host: @arguments.host, ssl: @arguments.ssl, team: @arguments.team, ) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems