Sha256: 8d1cbe99cbff063bec16a70667dc855a17197bffb7ae9a81c5ba17ecfbd89510

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

module Nusii
  class Account < Resource

    attr_reader :id, :email, :name, :subdomain, :web, :currency,
                :pdf_page_size, :locale, :address, :address_state,
                :postcode, :city, :telephone, :default_theme

    def self.me
      requester = Nusii::Request.new
      requester.show_call self
    end

    def self.resource_path
      "/api/v2/account/me"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nusii-0.1.1 lib/nusii/account.rb