Sha256: 50316cc305265df0f8bcd2d7267be1ae40fccc5aab232f528cfc99441b8c377d
Contents?: true
Size: 1.73 KB
Versions: 7
Compression:
Stored size: 1.73 KB
Contents
= Amee (Lets Cut Co2) By D50 = Docs These are on the way; this is very early release; However have a look at the cucumber features you should be able so see that most bases have been covered; Basically the more we use this the more docs there will be = Usage (More to come; If you are lucky and example rails app) There is a config where login, cache and logging settings can be applied have a look at the config model to see how one should use that. Create a session ie @session = Amee::Session.create("blar", "blar") And then use the session to get, put, post and delete on what you required from amee; there are a set number of operations that are available to you currently but more will be added Some objects say like data_categories can be lazy loaded so you can do method calls like data_category = @session.get_data_category("/data/home/appliances") fridge = data_category.data_categories.first if you wanted to know the data_categories for fridge just call data_categories on fridge it will populated the fridge category automagically; Cache - Simple to Start (using Moneta) Therefore if u wish you can choose your cache store even memcache via leveraging Moneta Pagination on data_items @data_category = session.get_data_category("/data/whatever_path", :query => {:itemsPerPage => 30, :page => 1}) @data_items = @data_category.paginate_data_items(:per_page => 30,:page => params[:page]) You know have a pagintated data_items = TODOS Pagination (should be simple enough just hook into will_paginate collections) Other stuff when start to use amee api fully = TICKETS GROUP https://dynamic50.lighthouseapp.com/projects/29811-amee/overview http://groups.google.com/group/amee-gem
Version data entries
7 entries across 7 versions & 1 rubygems