billit_representers 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'billit_representers'
3
- gem.version = '0.3.0'
3
+ gem.version = '0.3.1'
4
4
  gem.date = '2013-06-25'
5
5
  gem.summary = "Representers for the bill-it module of the Poplus project."
6
6
  gem.description = "Representers for the bill-it module of the Poplus project. These provide object-like access to remote data, using Resource-Oriented Architectures in Ruby (ROAR)."
@@ -5,7 +5,7 @@ module Billit
5
5
  include Roar::Representer::JSON
6
6
  include Roar::Representer::Feature::Hypermedia
7
7
 
8
- collection :items, :extend => BillRepresenter, :class => Bill
8
+ collection :bills, :extend => BillRepresenter, :class => Bill
9
9
 
10
10
  property :total_entries
11
11
  property :current_page
@@ -25,7 +25,7 @@ module Billit
25
25
  if previous_page
26
26
  end
27
27
 
28
- def items
28
+ def bills
29
29
  self
30
30
  end
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billit_representers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: