Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Example code that works #73

Open
treeder opened this issue Jul 9, 2015 · 3 comments
Open

Example code that works #73

treeder opened this issue Jul 9, 2015 · 3 comments

Comments

@treeder
Copy link

treeder commented Jul 9, 2015

Do you guys have any example code that works?

@smhussain
Copy link

Yes it would be great to have an example code that works.

@gagan93jtg
Copy link

I see the documentation isn't good either. I can't understand how to use this gem. Can anybody help ?

@limitusus
Copy link

@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')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants