0.0
No commit activity in last 3 years
No release in over 3 years
AFMotion extensions for Rocket
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 2.0
 Project Readme

AFMotion+Rocket

Use Rocket in RubyMotion

Usage

@client = AFMotion::... # create your client

@client.subscribe("http://myendpoint.com/updates") do |json_patch_operations|

  json_patch_operations.each do |json_patch|
    if json_patch['add']
      @resources << json_patch['value']
    else
      # handle other cases
    end
  end

end

Install

  1. gem install afmotion-rocket

  2. require 'afmotion-rocket' or add to your Gemfile

Contact

Clay Allsopp (http://clayallsopp.com)

License

AFMotion+Rocket is available under the MIT license. See the LICENSE file for more info.