class Gpdb::REST::Pronunciation::TargetResponse

Attributes

meta[RW]
target[RW]

Public Class Methods

new(*args) click to toggle source
Calls superclass method Gpdb::REST::Response::new
# File lib/gpdb/rest/pronunciation/target_response.rb, line 9
def initialize(*args)
  super

  return unless success?

  self.target = ::Gpdb::REST::Pronunciation::Target.new(body[:target_result])
  self.meta = body[:meta]
end