treasure-data/td-client-ruby — Issue #1: wrong method in AggregationSchema Class.
Author: doryokujin
Created: 2011-11-30 11:30:49+00:00
State: open

In td-client-ruby / lib / td / client / model.rb: AggregationSchema Class,

1. def update_entries!
2. sc = @client.show_aggregation_schema(@name)
3. @relation_key = sc.relation_key
4. @logs = sc.logs
5. @attributes = sc.attributes
6. self
7. end

The line 2. is wrong method, because there no exists @client.show_aggregation_schema method.
You should fix like this line:

1. def update_entries!
2. sc = @client.aggregation_schema(@name)
3. @relation_key = sc.relation_key
4. @logs = sc.logs
5. @attributes = sc.attributes
6. self
7. end