class AliyunSlsSdk::GetLogStoreResponse

Attributes

logstore_name[RW]
shard_count[RW]
ttl[RW]

Public Class Methods

new(resp, header) click to toggle source
Calls superclass method
# File lib/aliyun_sls_sdk/get_log_store_response.rb, line 5
def initialize(resp, header)
  super(header)
  puts resp
  @logstore_name = resp["logstoreName"]
  @ttl = resp["ttl"] ? resp["ttl"].to_i : 0
  @shard_count = resp["shardCount"] ? resp["shardCount"].to_i : 0
end