Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Merge af9cece into 8a79c90
Browse files Browse the repository at this point in the history
  • Loading branch information
allolex committed Feb 2, 2017
2 parents 8a79c90 + af9cece commit 8524862
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions lib/nacre/concerns/collectible.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# frozen_string_literal: true
module Nacre
module Collectible

include Enumerable

def self.included(base)
base.class_exec do
def initialize(resource_list = []) # rubocop:disable NestedMethodDefinition
Expand Down
1 change: 0 additions & 1 deletion lib/nacre/order/invoice_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module Nacre
class Order::InvoiceCollection
include Collectible
include Enumerable

def self.resource_class
Nacre::Order::Invoice
Expand Down
2 changes: 0 additions & 2 deletions lib/nacre/product/sales_channel_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

module Nacre
class Product::SalesChannelCollection

include Collectible
include Enumerable
extend Inflectible

def self.resource_class
Expand Down

0 comments on commit 8524862

Please sign in to comment.