module Airspace

Top-level namespace for primary public API.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Constants

VERSION

Public Class Methods

del(client, id, options: {}) click to toggle source
# File lib/airspace/airspace.rb, line 42
def del(client, id, options: {})
  reader = get(client, id, options: options)

  return false unless reader

  reader.delete
end
get(client, id, options: {}) click to toggle source
# File lib/airspace/airspace.rb, line 38
def get(client, id, options: {})
  ::Airspace::Reader.find_by_id(client, id, options: options)
end
set(client, id: nil, data: {}, pages: [], options: {}) click to toggle source
# File lib/airspace/airspace.rb, line 28
def set(client, id: nil, data: {}, pages: [], options: {})
  ::Airspace::Dataset.new(
    client,
    id: id,
    data: data,
    pages: pages,
    options: options
  ).save.id
end