module SmartlingRails

Copyright 2015 CareerBuilder, LLC Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2015 CareerBuilder, LLC Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2015 CareerBuilder, LLC Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2015 CareerBuilder, LLC Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2015 CareerBuilder, LLC Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Constants

VERSION

Public Class Methods

api_key() click to toggle source
# File lib/smartling_rails.rb, line 25
def self.api_key
  configuration.api_key
end
configuration() click to toggle source
# File lib/smartling_rails.rb, line 21
def self.configuration
  @configuration ||= SmartlingRails::Config.new
end
configure() { |configuration| ... } click to toggle source
# File lib/smartling_rails.rb, line 17
def self.configure
  yield configuration
end
locales() click to toggle source
# File lib/smartling_rails.rb, line 33
def self.locales
  configuration.locales
end
print_msg(msg, padding = false) click to toggle source

def self.command_aliases

{
  "s" => "status",
  "g" => "get",
  "p" => "put",
  "h" => "--help"
}

end

processor() click to toggle source
# File lib/smartling_rails.rb, line 37
def self.processor
  @processor ||= SmartlingRails::SmartlingProcessor.new
end
project_id() click to toggle source
# File lib/smartling_rails.rb, line 29
def self.project_id
  configuration.project_id
end