Sha256: 845dbf4f06fa5a51623fd543e699d1c329a5f50763bc2b04b87b4a987d21ea5f
Contents?: true
Size: 965 Bytes
Versions: 5
Compression:
Stored size: 965 Bytes
Contents
# Jaysus # Jaysus is a local/remote persistence/sync framework for MacRuby. It's designed for keeping local copies of responses from a remote JSON api. ## Usage ## Jaysus::Local.store_dir = '~/.jaysus/' Jaysus::Remote.base_url = 'https://user:pass@https://dnsimple.com' module Domain class Base < Jaysus::Base primary_key :id attribute :name attribute :name_server_status attribute :registrant_id attribute :registration_status attribute :expires_at attribute :created_at attribute :updated_at attribute :user_id end class Local < Base include Jaysus::Local end class Remote < Base include Jaysus::Remote end end domain = Site::Remote.new domain.title = "This" domain.user_id = 1 domain.save == Copyright Copyright (c) 2011 Paul Campbell. See LICENSE.txt for further details.
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
jaysus-0.1.4 | README.md |
jaysus-0.1.3 | README.md |
jaysus-0.1.2 | README.md |
jaysus-0.1.1 | README.md |
jaysus-0.1.0 | README.md |