Sha256: f69ce6900ba8fca015ab64f949291935ce6e25ae5bfa761febe0b0e70fb5e288

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

module Spigot
  module Mapping

    class Post

      def self.basic
        {'post' => base}
      end

      def self.namespaced
        {'wrapper/post' => base}
      end

      private

      def self.base
        {'title' => 'title', 'body' => 'description'}
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spigot-0.1.0 spec/fixtures/mappings/post_map.rb
spigot-0.0.1 spec/fixtures/mappings/post_map.rb