Exception: PPC::Baidu::BulkException

Inherits:
Exception
  • Object
show all
Defined in:
lib/ppc/baidu/bulk.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_id, bulk, exception) ⇒ BulkException

Returns a new instance of BulkException.



5
6
7
8
9
# File 'lib/ppc/baidu/bulk.rb', line 5

def initialize(file_id,bulk,exception)
  @file_id    = file_id
  @bulk       = bulk
  @exception  = exception
end

Instance Attribute Details

#bulkObject (readonly)

Returns the value of attribute bulk.



4
5
6
# File 'lib/ppc/baidu/bulk.rb', line 4

def bulk
  @bulk
end

#exceptionObject (readonly)

Returns the value of attribute exception.



4
5
6
# File 'lib/ppc/baidu/bulk.rb', line 4

def exception
  @exception
end

#file_idObject (readonly)

Returns the value of attribute file_id.



4
5
6
# File 'lib/ppc/baidu/bulk.rb', line 4

def file_id
  @file_id
end