piotrmurach/github_cli

View on GitHub
lib/github_cli/formatters/raw.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module GithubCLI
  module Formatters
    class Raw

      attr_reader :response

      def initialize(response)
        @response = response
      end

      def format
        response.to_h
      end
    end # Raw
  end # Formatters
end # GithubCLI