Class: Glexchange::Model::PDLanguageDirection

Inherits:
Object
  • Object
show all
Defined in:
lib/glexchange/model/LanguageDirection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(externalLanguageDirection) ⇒ PDLanguageDirection

Returns a new instance of PDLanguageDirection.



7
8
9
10
# File 'lib/glexchange/model/LanguageDirection.rb', line 7

def initialize(externalLanguageDirection)
	@sourceLanguage = externalLanguageDirection.sourceLanguage.locale;
	@targetLanguage = externalLanguageDirection.targetLanguage.locale;
end

Instance Attribute Details

#sourceLanguageObject

Returns the value of attribute sourceLanguage.



5
6
7
# File 'lib/glexchange/model/LanguageDirection.rb', line 5

def sourceLanguage
  @sourceLanguage
end

#targetLanguageObject

Returns the value of attribute targetLanguage.



6
7
8
# File 'lib/glexchange/model/LanguageDirection.rb', line 6

def targetLanguage
  @targetLanguage
end