Open treeder opened 9 years ago
Yes it would be great to have an example code that works.
I see the documentation isn't good either. I can't understand how to use this gem. Can anybody help ?
@gagan93jtg
I'm also a newbie to this gem and had just faced the same problem an hour ago.
I read the spec and source code and found the design of classes are wholly changed. AwsPricing::PriceList
is a base class and you should instantiate AwsPricing::Ec2PriceList
and AwsPricing::RdsPriceList
instead.
Other interfaces looks very basic and rdoc seems up to date.
Example
AwsPricing::Ec2PriceList.new.get_region('us-east-1')
Do you guys have any example code that works?