Sha256: 5c7ebc65eb86e4570fbb872573e21a4996ed380ac75e270e786966d4f7bf72a6

Contents?: true

Size: 677 Bytes

Versions: 1

Compression:

Stored size: 677 Bytes

Contents

module Nusii
  class Client < Resource
    extend Nusii::Crud::Get
    extend Nusii::Crud::List
    extend Nusii::Crud::Create
    include Nusii::Crud::Save
    extend Nusii::Crud::Destroy
    include Nusii::Crud::DestroySelf

    attr_accessor :id, :email, :name, :surname, :full_name,
                  :currency, :business, :locale, :pdf_page_size,
                  :web, :telephone, :address, :city, :postcode,
                  :country, :city, :state

  private

    def editable_attributes
      [ :email, :name, :surname, :currency, :business,
        :locale, :pdf_page_size, :web, :telephone, :address,
        :city, :postcode, :country, :state ]
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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