Sha256: e7946a374a15cd587fbb44004ba8a1f48bb3b0e74b523a4427af2bfe524cd2a4
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
module Mollie class Organization < Base attr_accessor :id, :name, :locale, :email, :address, :registration_number, :vat_number, :vat_regulation, :_links alias links _links def self.current(options = {}) get('me', options) end def address=(address) @address = OpenStruct.new(address) if address.is_a?(Hash) end def dashboard_url Util.extract_url(links, 'dashboard') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mollie-api-ruby-4.14.0 | lib/mollie/organization.rb |