class Transifex::Resource

Attributes

main_language[RW]
name[RW]
project[RW]
slug[RW]
type[RW]

Public Class Methods

new(data, project) click to toggle source
# File lib/transifex/resource.rb, line 4
def initialize(data, project)
  @name          = data.name
  @type          = data.i18n_type
  @slug          = data.slug
  @main_language = data.source_language_code
  @project       = project
end