Skip to content
This repository was archived by the owner on Nov 5, 2021. It is now read-only.
This repository was archived by the owner on Nov 5, 2021. It is now read-only.

How to specify the default format #33

Open

Description

@urimaro

I would like to specify the format.
Could you let me know if you have any better ideas than using the defaults block?

  api vendor_string: 'foo', default_version: 1 do
    defaults format: :json do
      version 1 do
        cache as: 'v1' do
        :
        end
      end
    end
  end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions