require 'petstore/resource'

module Petstore
  module Resources
    class Pets < Petstore::Resource
      set_path 'pet'

      def find_by_status(status)
        Petstore::Request.new(conn: conn, partial_path: partial_path('findByStatus'),
                              method: :get, params: {status: status.to_s}).make
      end

      def find_by_tags(tags)
        Petstore::Request.new(conn: conn, partial_path: partial_path('findByTags'),
                              method: :get, params: {tags: "#{tags.join(',')}"}).make
      end
    end
  end
end
require 'petstore/resource'

module Petstore
  module Resources
    class Pets < Petstore::Resource
      set_path 'pet'

      def get(id)
        super
      end

      def find_by_status(status)
        Petstore::Request.new(conn: conn, partial_path: partial_path('findByStatus'),
                              method: :get, params: {status: status.to_s}).make
      end

      def find_by_tags(tags)
        Petstore::Request.new(conn: conn, partial_path: partial_path('findByTags'),
                              method: :get, params: {tags: "#{tags.join(',')}"}).make
      end
    end
  end
end
Add get method with required id parameter.
Add get method with required id parameter.
