class Gpdb::REST::Pronunciation::Model

Attributes

allow_user_responses[RW]
audio_owner_signature[RW]
audio_source[RW]
audio_url[RW]
created_at[RW]
id[RW]
language_metadata[RW]
name_owner_signature[RW]
name_text[RW]
phonetic_transcriptions[RW]
updated_at[RW]
user_responses[RW]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/gpdb/rest/pronunciation/model.rb, line 11
def initialize(attributes = {})
  self.id                      = attributes[:id]
  self.audio_url               = attributes[:audio_url]
  self.allow_user_responses    = attributes[:allow_user_responses]
  self.language_metadata       = attributes[:language_metadata]
  self.phonetic_transcriptions = attributes[:phonetic_transcriptions]
  self.user_responses          = attributes[:user_responses]
  self.created_at              = attributes[:created_at]
  self.updated_at              = attributes[:updated_at]

  # The next attributes are present only for the 'create' action
  self.audio_source          = attributes[:audio_source]
  self.audio_owner_signature = attributes[:audio_owner_signature]
  self.name_owner_signature  = attributes[:name_owner_signature]
  self.name_text             = attributes[:name_text]
end