Comments (3)
Yes it would be great to have an example code that works.
from amazon-pricing.
I see the documentation isn't good either. I can't understand how to use this gem. Can anybody help ?
from amazon-pricing.
@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')
from amazon-pricing.
Related Issues (13)
- Unknown instance type m4.16xlarge HOT 2
- Benefit of Amazon::Pricing vs. Aws::Pricing?
- Current spending HOT 1
- memDBCurrentGen RDS types get wrong or no pricing
- GovCloud RDS pricing HOT 3
- Added support for t2 burstable instances HOT 1
- License missing from gemspec HOT 2
- Gem will not run without Mechanize HOT 1
- WARNING: new reserved instances not found for * in eu-central-1 HOT 1
- Solano CI link is broken
- wrong number of arguments error
- Region us-east-1a not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-pricing.