Sha256: 822fb3b64190d2abe3738949d185e1a63661d706978783d7cd4442bf7b8139d5

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require 'pina/models/my_bank_account'
require 'pina/collections/my_bank_account'

module Pina
  class MyBankAccount
    extend Pina::Resource

    resource_methods :all, :where, :find, :create, :update

    class << self
      def new(params = nil)
        Pina::Models::MyBankAccount.new(params)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pina-0.15.0 lib/pina/my_bank_account.rb