Class: Uploadcare::Rails::Api::Rest::ProjectApi

Inherits:
Base
  • Object
show all
Defined in:
lib/uploadcare/rails/api/rest/project_api.rb

Overview

A class that contains Project related methods for Uploadcare REST API

Class Method Summary collapse

Class Method Details

.get_projectObject

Get information about the current project. Current project is determined by public and secret keys combination. rubocop:disable Naming/AccessorMethodName



16
17
18
# File 'lib/uploadcare/rails/api/rest/project_api.rb', line 16

def get_project
  Uploadcare::Project.show
end