Class: BaiduApi::LbsCloud::V3::Geodata::Basement

Inherits:
Object
  • Object
show all
Defined in:
lib/baidu_api/lbs_cloud/v3/geodata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ak, sk = nil) ⇒ Basement

Returns a new instance of Basement.



6
7
8
9
10
11
12
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 6

def initialize(ak, sk = nil)
  @ak, @sk = ak, sk
  @geotable  = Geotable.new(ak, sk)
  @column    = Column.new(ak, sk)
  @poi       = Poi.new(ak, sk)
  @job       = Job.new(ak, sk)
end

Instance Attribute Details

#akObject (readonly)

Returns the value of attribute ak.



4
5
6
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 4

def ak
  @ak
end

#columnObject (readonly)

Returns the value of attribute column.



4
5
6
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 4

def column
  @column
end

#geotableObject (readonly)

Returns the value of attribute geotable.



4
5
6
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 4

def geotable
  @geotable
end

#jobObject (readonly)

Returns the value of attribute job.



4
5
6
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 4

def job
  @job
end

#poiObject (readonly)

Returns the value of attribute poi.



4
5
6
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 4

def poi
  @poi
end

#skObject (readonly)

Returns the value of attribute sk.



4
5
6
# File 'lib/baidu_api/lbs_cloud/v3/geodata.rb', line 4

def sk
  @sk
end