class Rubill::Vendor

Public Instance Methods

bills() click to toggle source
# File lib/rubill/entities/vendor.rb, line 3
def bills
  Bill.where([
    Query::Filter.new("isActive", "=", "1"),
    Query::Filter.new("vendorId", "=", id),
  ])
end
send_invite(email) click to toggle source
# File lib/rubill/entities/vendor.rb, line 10
def send_invite(email)
  Query.send_vendor_invite(id, email)
end