Class: YouTubeG::Model::UploadError

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_g/model/upload_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeG::Record

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



5
6
7
# File 'lib/youtube_g/model/upload_error.rb', line 5

def code
  @code
end

#domainObject (readonly)

Returns the value of attribute domain.



4
5
6
# File 'lib/youtube_g/model/upload_error.rb', line 4

def domain
  @domain
end

#locationObject (readonly)

Returns the value of attribute location.



6
7
8
# File 'lib/youtube_g/model/upload_error.rb', line 6

def location
  @location
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/youtube_g/model/upload_error.rb', line 8

def to_s
  "location: [#{location}] domain: [#{domain}] code: [#{code}]"
end