Module: Localeui

Defined in:
lib/localeui/task/base.rb,
lib/localeui.rb,
lib/localeui/http.rb,
lib/localeui/utils.rb,
lib/localeui/errors.rb,
lib/localeui/railtie.rb,
lib/localeui/request.rb,
lib/localeui/version.rb,
lib/localeui/response.rb,
lib/localeui/task/upload.rb,
lib/localeui/task/download.rb,
lib/localeui/resources/event.rb,
lib/localeui/resources/project.rb,
lib/localeui/task/project_info.rb,
lib/localeui/resources/source_file.rb,
lib/localeui/response/status_codes.rb,
lib/generators/localeui/install_generator.rb

Overview

rubocop:disable Lint/EmptyClass

Defined Under Namespace

Modules: Generators, Task, Utils Classes: BadRequestError, Event, ForbiddenError, Http, LocaleuiError, NoApiTokenError, NoBaseApiError, NoProjectError, NotFoundError, Project, Railtie, Request, Response, SourceFile, UnauthorizedError

Constant Summary collapse

VERSION =
'0.1.2'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.allow_overwritingObject

Returns the value of attribute allow_overwriting.



27
28
29
# File 'lib/localeui.rb', line 27

def allow_overwriting
  @allow_overwriting
end

.api_tokenObject

Returns the value of attribute api_token.



27
28
29
# File 'lib/localeui.rb', line 27

def api_token
  @api_token
end

.base_apiObject

Returns the value of attribute base_api.



27
28
29
# File 'lib/localeui.rb', line 27

def base_api
  @base_api
end

.locales_pathObject

Returns the value of attribute locales_path.



27
28
29
# File 'lib/localeui.rb', line 27

def locales_path
  @locales_path
end

.project_idObject

Returns the value of attribute project_id.



27
28
29
# File 'lib/localeui.rb', line 27

def project_id
  @project_id
end

Class Method Details

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Localeui)

    the object that the method was called on



29
30
31
# File 'lib/localeui.rb', line 29

def config
  yield self
end